This is the mail archive of the libc-alpha@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]

Re: [PATCH 3/3] manual: Add new header and standards annotations.


On Tue, 22 Nov 2016, Rical Jasan wrote:

> 	The "???" placeholder is used for anything not obvious from a
> 	cursory survey of the glibc sources.

All argp facilities should be documented as GNU.  Likewise mcheck.h 
features.  Likewise getauxval.

The correct standard for posix_fallocate64 is LFS (well, really the 
combination of both LFS and POSIX.1-2001 enabled, however you denote 
POSIX.1-2001 && LFS).

XOPEN2K is generically an unhelpful name.  In the headers it actually 
means POSIX.1-2001; the X/Open version is __USE_XOPEN2KXSI.  Likewise 
__USE_XOPEN2K8 means POSIX.1-2008 and the X/Open version is 
__USE_XOPEN2K8XSI.  So anywhere you say XOPEN2K because the headers use 
__USE_XOPEN2K, say POSIX.1-2001 in the manual instead; likewise 
POSIX.1-2008 for XOPEN2K8.

strncpy is in ISO C90, one of several standards all commonly shown as 
"ISO" (though I think "C90", "C99", "C11", "TS 18661-1:2014" etc. might be 
better names to use - as always, only listing the oldest standard 
relevant, not later ones that are generally supersets of it).  In stdio.h, 
SEEK_SET, SEEK_CUR, SEEK_END are all likewise C90.

-- 
Joseph S. Myers
joseph@codesourcery.com


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