[Bug libc/17665] New: Excess declarations in unistd.h for XPG3/XPG4

jsm28 at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Sat Nov 29 09:42:00 GMT 2014


https://sourceware.org/bugzilla/show_bug.cgi?id=17665

            Bug ID: 17665
           Summary: Excess declarations in unistd.h for XPG3/XPG4
           Product: glibc
           Version: 2.21
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: jsm28 at gcc dot gnu.org
                CC: drepper.fsp at gmail dot com

For XPG3/XPG4 (defined __USE_XOPEN && !defined __USE_UNIX98), unistd.h declares
many functions that should only be declared for __USE_MISC (none of them are in
XPG4): sethostname sethostid getdomainname setdomainname vhangup revoke profil
acct getusershell endusershell setusershell daemon.

-- 
You are receiving this mail because:
You are on the CC list for the bug.



More information about the Glibc-bugs mailing list