1833780 Members
2291 Online
110063 Solutions
New Discussion

__fsetlocking

 
Srini Gadudasu
New Member

__fsetlocking

I need to use this function in my program, but can't find it declared in any header on my HP system. Whereas it can be found on sun, linux and aix systems. Is this available on HP? If so, please point me to the right header. Else, is an equivalent function available on HP?
Thanks in advance,
Srini
2 REPLIES 2
Stephen Keane
Honored Contributor

Re: __fsetlocking

It doesn't exist on HP-UX, as far as I know. For the nearest equivalent call see flockfile(3S)

Stephen Keane
Honored Contributor

Re: __fsetlocking

Or, use the the _unlocked variants of the stream operations.