This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 3/3] manual: Add new header and standards annotations.
- From: Joseph Myers <joseph at codesourcery dot com>
- To: Rical Jasan <ricaljasan at pacific dot net>
- Cc: <libc-alpha at sourceware dot org>, Michael Kerrisk <mtk dot manpages at gmail dot com>, Carlos O'Donell <carlos at redhat dot com>
- Date: Wed, 23 Nov 2016 17:42:16 +0000
- Subject: Re: [PATCH 3/3] manual: Add new header and standards annotations.
- Authentication-results: sourceware.org; auth=none
- References: <20161123063807.14845-1-ricaljasan@pacific.net> <20161123063807.14845-4-ricaljasan@pacific.net>
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