Sorry, yes, that is what I meant. Cut-and-pasted the wrong line from the
source file. Correct paste follows:

#define _OPEN_SYS_UNLOCKED_EXT 1

Charles

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of Sam Siegel
Sent: Monday, July 29, 2013 11:08 AM
To: [email protected]
Subject: Re: Any clues on fwrite_unlocked()

On Mon, Jul 29, 2013 at 7:49 AM, Charles Mills <[email protected]> wrote:

> Anyone using fwrite_unlocked() successfully? Per TFM I have
>
> #define _XOPEN_SOURCE_EXTENDED 1
>

I think the following define is required prior to including stdio.h

#define _OPEN_SYS_UNLOCKED_EXT 1

Sam


>
> ahead of any #includes (including stdio.h, of course).
>
> Still, I am getting
>
> CCN5274 (S) The name lookup for "fwrite_unlocked" did not find a 
> declaration.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to