diff options
| author | Alejandro Colomar <alx@kernel.org> | 2023-03-13 13:02:26 +0100 |
|---|---|---|
| committer | Alejandro Colomar <alx@kernel.org> | 2023-03-13 13:03:21 +0100 |
| commit | e0089d55f03c3f4057e0a8bfc7704d756f5c6c05 (patch) | |
| tree | 92402301daa00313721315fcd14ba06e1fdf140f /man3/stdarg.3 | |
| parent | bd23bf6631a1676e14cc22900eea7c010924cc2d (diff) | |
| download | man-pages-e0089d55f03c3f4057e0a8bfc7704d756f5c6c05.tar.gz | |
Revert "Many pages: Remove references to C89"
This reverts commit 72b349dd8c209d7375d4d4f76e2315943d654ee9.
This removal caused inconveniences to some programmers. We've agreed to
keep the information about C89, since there's an easy way to keep it
correct by checking against a plain-text copy of the standard itself:
$ stdc89()
{
grep "[[:alpha:]] \**\b$1([[:alnum:]*,. ]*);" /path/to/c89-draft.txt;
}
$ stdc89 printf
int printf(const char *format, ...);
int printf(const char *format, ...);
We will also do a split of the information in STANDARDS, since now it's
a mix of what a proper STANDARDS section would be plus a HISTORY section
commonly-found in other manual pages. C89 will go into HISTORY.
Link: <https://lore.kernel.org/linux-man/b73a9636-1a17-36f3-3718-d9ca3b9293ed@gmail.com/T/>
Link: <https://port70.net/~nsz/c/c89/c89-draft.txt>
Reported-by: Oskari Pirhonen <xxc3ncoredxx@gmail.com>
Reported-by: Matt Jolly <Matt.Jolly@footclan.ninja>
Cc: Brian Inglis <Brian.Inglis@Shaw.ca>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
Diffstat (limited to 'man3/stdarg.3')
| -rw-r--r-- | man3/stdarg.3 | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/man3/stdarg.3 b/man3/stdarg.3 index 468a0904a3..3a66019139 100644 --- a/man3/stdarg.3 +++ b/man3/stdarg.3 @@ -224,7 +224,15 @@ T} Thread safety MT-Safe race:ap .ad .sp 1 .SH STANDARDS -C99. +The +.BR va_start (), +.BR va_arg (), +and +.BR va_end () +macros conform to C89. +C99 defines the +.BR va_copy () +macro. .SH BUGS Unlike the historical .B varargs |
