This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/12252] New: signal.h does not export SA_RESTART and friends for POSIX source


http://sourceware.org/bugzilla/show_bug.cgi?id=12252

           Summary: signal.h does not export SA_RESTART and friends for
                    POSIX source
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper.fsp@gmail.com
        ReportedBy: vapier@gentoo.org


if you define _POSIX_SOURCE or _POSIX_C_SOURCE and include signal.h, the
SA_ONSTACK/SA_RESTART/SA_NODEFER/SA_RESETHAND defines are hidden.  they seem to
only be exposed for _XOPEN_SOURCE (XPG) and for _BSD_SOURCE or _SVID_SOURCE. 
but according to the POSIX spec, they are part of the extended ISO C spec which
makes them part of the POSIX base spec.

so at least for _POSIX_C_SOURCE >= 200112L, these things should be defined.  i
dont have older references, so i cant look up how far standard-wise back these
should be made available.

1003.1-2004 sigaction:
http://www.opengroup.org/onlinepubs/009695399/functions/sigaction.html
1003.1-2008 sigaction:
http://www.opengroup.org/onlinepubs/9699919799/functions/sigaction.html

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]