Hi Baurzhan

On Thu, Aug 28, 2008 at 10:47 PM, Baurzhan Ismagulov <[EMAIL PROTECTED]> wrote:
> Hello Michael,
>
> Thanks for the prompt reply.
>
> On Thu, Aug 28, 2008 at 10:31:57PM +0200, Michael Kerrisk wrote:
>> > I'm glad to see the feature test macros for strerror_r and strdup. Now,
>> > it seems that sigaction requires _POSIX_SOURCE.
>>
>> No it doesn't.  Why do you think this is so?
>
> Well, because it's in #ifdef __USE_POSIX. Try the following:

Okay -- so this means we need _POSIX_SOURCE or _POSIX_C_SOURCE >= 1 or
_XOPEN_SOURCE (see <features.h>).

Cheers,

Michael

-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
man-pages online: http://www.kernel.org/doc/man-pages/online_pages.html
Found a bug? http://www.kernel.org/doc/man-pages/reporting_bugs.html



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to