Added VERSIONS section.

This commit is contained in:
Michael Kerrisk 2008-06-11 13:43:34 +00:00
parent 294544e7b2
commit c343e74cfd
12 changed files with 56 additions and 13 deletions

View File

@ -3,7 +3,7 @@
.\" adapted glibc info page .\" adapted glibc info page
.\" .\"
.\" polished a little, aeb .\" polished a little, aeb
.TH ADDSEVERITY 3 2007-07-26 "GNU" "Linux Programmer's Manual" .TH ADDSEVERITY 3 2008-06-14 "GNU" "Linux Programmer's Manual"
.SH NAME .SH NAME
addseverity \- introduce new severity classes addseverity \- introduce new severity classes
.SH SYNOPSIS .SH SYNOPSIS
@ -51,6 +51,9 @@ Upon error, the return value is
.BR MM_NOTOK . .BR MM_NOTOK .
Possible errors include: out of memory, attempt to remove a Possible errors include: out of memory, attempt to remove a
nonexistent or default severity class. nonexistent or default severity class.
.SH VERSIONS
.BR addseverity ()
is provided in glibc since version 2.1.
.SH "CONFORMING TO" .SH "CONFORMING TO"
This function is not specified in the X/Open Portability Guide This function is not specified in the X/Open Portability Guide
although the although the

View File

@ -22,7 +22,7 @@
.\" .\"
.\" References: .\" References:
.\" glibc manual and source .\" glibc manual and source
.TH BACKTRACE 3 2008-05-29 GNU "Linux Programmer's Manual" .TH BACKTRACE 3 2008-06-14 GNU "Linux Programmer's Manual"
.SH NAME .SH NAME
backtrace, backtrace_symbols, backtrace_symbols_fd \- support backtrace, backtrace_symbols, backtrace_symbols_fd \- support
for application self-debugging for application self-debugging
@ -130,6 +130,12 @@ returns a pointer to the array
.BR malloc (3)ed .BR malloc (3)ed
by the call; by the call;
on error, NULL is returned. on error, NULL is returned.
.SH VERSIONS
.BR backtrace (),
.BR backtrace_symbols (),
and
.BR backtrace_symbols_fd ()
is provided in glibc since version 2.1.
.SH CONFORMING TO .SH CONFORMING TO
These functions are GNU extensions. These functions are GNU extensions.
.SH NOTES .SH NOTES

View File

@ -31,7 +31,7 @@
.\" Modified by Michael Kerrisk <mtk.manpages@gmail.com> 2003-05-16. .\" Modified by Michael Kerrisk <mtk.manpages@gmail.com> 2003-05-16.
.\" Modified by Walter Harms: dladdr, dlvsym .\" Modified by Walter Harms: dladdr, dlvsym
.\" .\"
.TH DLOPEN 3 2008-05-08 "Linux" "Linux Programmer's Manual" .TH DLOPEN 3 2008-06-14 "Linux" "Linux Programmer's Manual"
.SH NAME .SH NAME
dladdr, dlclose, dlerror, dlopen, dlsym, dlvsym \- programming interface to dladdr, dlclose, dlerror, dlopen, dlsym, dlvsym \- programming interface to
dynamic linking loader dynamic linking loader
@ -372,7 +372,8 @@ are set to NULL.
returns 0 on error, and non-zero on success. returns 0 on error, and non-zero on success.
.PP .PP
The function The function
.BR dlvsym () .BR dlvsym (),
provided by glibc since version 2.1,
does the same as does the same as
.BR dlsym () .BR dlsym ()
but takes a version string as an additional argument. but takes a version string as an additional argument.

View File

@ -6,7 +6,7 @@
.\" The function is quite complex and deserves an example .\" The function is quite complex and deserves an example
.\" .\"
.\" Polished, aeb, 2003-11-01 .\" Polished, aeb, 2003-11-01
.TH FMTMSG 3 2003-11-01 "" "Linux Programmer's Manual" .TH FMTMSG 3 2008-06-14 "" "Linux Programmer's Manual"
.SH NAME .SH NAME
fmtmsg \- print formatted error messages fmtmsg \- print formatted error messages
.SH SYNOPSIS .SH SYNOPSIS
@ -215,6 +215,9 @@ any of the predefined classes.
The printstring The printstring
is the string printed when a message of this class is processed by is the string printed when a message of this class is processed by
.BR fmtmsg (). .BR fmtmsg ().
.SH VERSIONS
.BR fmtmsg ()
is provided in glibc since version 2.1.
.SH "CONFORMING TO" .SH "CONFORMING TO"
The functions The functions
.BR fmtmsg () .BR fmtmsg ()

View File

@ -4,7 +4,7 @@
.\" 2004-12-14, mtk, Added EAI_OVERFLOW error .\" 2004-12-14, mtk, Added EAI_OVERFLOW error
.\" 2004-12-14 Fixed description of error return .\" 2004-12-14 Fixed description of error return
.\" .\"
.TH GETNAMEINFO 3 2007-06-08 "GNU" "Linux Programmer's Manual" .TH GETNAMEINFO 3 2008-06-14 "GNU" "Linux Programmer's Manual"
.SH NAME .SH NAME
getnameinfo \- address-to-name translation in protocol-independent manner getnameinfo \- address-to-name translation in protocol-independent manner
.SH SYNOPSIS .SH SYNOPSIS
@ -175,6 +175,9 @@ suitable for error reporting.
/etc/nsswitch.conf /etc/nsswitch.conf
.br .br
/etc/resolv.conf /etc/resolv.conf
.SH VERSIONS
.BR getnameinfo ()
is provided in glibc since version 2.1.
.SH "CONFORMING TO" .SH "CONFORMING TO"
RFC\ 2553, POSIX.1-2001. RFC\ 2553, POSIX.1-2001.
.SH NOTES .SH NOTES

View File

@ -2,7 +2,7 @@
.\" This man page was written by Jeremy Phelps <jphelps@notreached.net>. .\" This man page was written by Jeremy Phelps <jphelps@notreached.net>.
.\" Redistribute and modify at will. .\" Redistribute and modify at will.
.\" .\"
.TH GETPT 3 2008-06-03 "GNU" "Linux Programmer's Manual" .TH GETPT 3 2008-06-14 "GNU" "Linux Programmer's Manual"
.SH NAME .SH NAME
getpt \- open the pseudo-terminal master (PTM) getpt \- open the pseudo-terminal master (PTM)
.SH SYNOPSIS .SH SYNOPSIS
@ -34,6 +34,9 @@ to indicate the error.
.BR getpt () .BR getpt ()
can fail with various errors described in can fail with various errors described in
.BR open (2). .BR open (2).
.SH VERSIONS
.BR getpt ()
is provided in glibc since version 2.1.
.SH CONFORMING TO .SH CONFORMING TO
.BR getpt () .BR getpt ()
is glibc-specific; is glibc-specific;

View File

@ -1,7 +1,7 @@
.\" Hey Emacs! This file is -*- nroff -*- source. .\" Hey Emacs! This file is -*- nroff -*- source.
.\" This page is in the public domain. - aeb .\" This page is in the public domain. - aeb
.\" .\"
.TH GRANTPT 3 2003-01-30 "GNU" "Linux Programmer's Manual" .TH GRANTPT 3 2008-06-14 "GNU" "Linux Programmer's Manual"
.SH NAME .SH NAME
grantpt \- grant access to the slave pseudo-terminal grantpt \- grant access to the slave pseudo-terminal
.SH SYNOPSIS .SH SYNOPSIS
@ -48,6 +48,9 @@ argument is not a valid open file descriptor.
The The
.I fd .I fd
argument is valid but not associated with a master pty. argument is valid but not associated with a master pty.
.SH VERSIONS
.BR grantpt ()
is provided in glibc since version 2.1.
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX.1-2001 POSIX.1-2001
.SH NOTES .SH NOTES

View File

@ -1,4 +1,5 @@
.\" Copyright (C) 2001 Andries Brouwer (aeb@cwi.nl) .\" Copyright (C) 2001 Andries Brouwer (aeb@cwi.nl)
.\" and Copyright (C) 2006 Michael Kerrisk <mtk.manpages@gmail.com>
.\" .\"
.\" Permission is granted to make and distribute verbatim copies of this .\" Permission is granted to make and distribute verbatim copies of this
.\" manual provided the copyright notice and this permission notice are .\" manual provided the copyright notice and this permission notice are
@ -19,8 +20,9 @@
.\" .\"
.\" Formatted or processed versions of this manual, if unaccompanied by .\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work. .\" the source, must acknowledge the copyright and authors of this work.
.\" 2006-08-02, mtk, Added example program
.\" .\"
.TH MAKECONTEXT 3 2001-11-15 "GNU" "Linux Programmer's Manual" .TH MAKECONTEXT 3 2008-06-14 "GNU" "Linux Programmer's Manual"
.SH NAME .SH NAME
makecontext, swapcontext \- manipulate user context makecontext, swapcontext \- manipulate user context
.SH SYNOPSIS .SH SYNOPSIS
@ -92,6 +94,11 @@ sets \fIerrno\fP appropriately.
.TP .TP
.B ENOMEM .B ENOMEM
Insufficient stack space left. Insufficient stack space left.
.SH VERSIONS
.BR makecontext ()
and
.BR swapcontext ()
are provided in glibc since version 2.1.
.SH "CONFORMING TO" .SH "CONFORMING TO"
SUSv2, POSIX.1-2001. SUSv2, POSIX.1-2001.
.\" FIXME . Mar 08: The next POSIX.1 revision removes makecontext() .\" FIXME . Mar 08: The next POSIX.1 revision removes makecontext()

View File

@ -3,7 +3,7 @@
.\" .\"
.\" 2004-12-17, mtk, added description of ptsname_r() + ERRORS .\" 2004-12-17, mtk, added description of ptsname_r() + ERRORS
.\" .\"
.TH PTSNAME 3 2004-12-17 "" "Linux Programmer's Manual" .TH PTSNAME 3 2008-06-14 "" "Linux Programmer's Manual"
.SH NAME .SH NAME
ptsname, ptsname_r \- get the name of the slave pseudo-terminal ptsname, ptsname_r \- get the name of the slave pseudo-terminal
.SH SYNOPSIS .SH SYNOPSIS
@ -72,6 +72,9 @@ does not refer to a pseudo-terminal master device.
only) only)
.I buf .I buf
is too small. is too small.
.SH VERSIONS
.BR ptsname ()
is provided in glibc since version 2.1.
.SH "CONFORMING TO" .SH "CONFORMING TO"
.BR ptsname () .BR ptsname ()
is part of the Unix98 pseudo-terminal support (see is part of the Unix98 pseudo-terminal support (see

View File

@ -20,7 +20,7 @@
.\" Formatted or processed versions of this manual, if unaccompanied by .\" Formatted or processed versions of this manual, if unaccompanied by
.\" the source, must acknowledge the copyright and authors of this work. .\" the source, must acknowledge the copyright and authors of this work.
.\" .\"
.TH TCGETSID 3 2007-07-26 "GNU" "Linux Programmer's Manual" .TH TCGETSID 3 2008-06-14 "GNU" "Linux Programmer's Manual"
.SH NAME .SH NAME
tcgetsid \- get session ID tcgetsid \- get session ID
.SH SYNOPSIS .SH SYNOPSIS
@ -57,6 +57,9 @@ is not a valid file descriptor.
The calling process does not have a controlling terminal, or The calling process does not have a controlling terminal, or
it has one but it is not described by it has one but it is not described by
.IR fd . .IR fd .
.SH VERSIONS
.BR tcgetsid ()
is provided in glibc since version 2.1.
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX.1-2001 POSIX.1-2001
.SH NOTES .SH NOTES

View File

@ -1,7 +1,7 @@
.\" Hey Emacs! This file is -*- nroff -*- source. .\" Hey Emacs! This file is -*- nroff -*- source.
.\" This page is in the public domain. - aeb .\" This page is in the public domain. - aeb
.\" .\"
.TH UNLOCKPT 3 2003-01-30 "" "Linux Programmer's Manual" .TH UNLOCKPT 3 2008-06-14 "" "Linux Programmer's Manual"
.SH NAME .SH NAME
unlockpt \- unlock a pseudo-terminal master/slave pair unlockpt \- unlock a pseudo-terminal master/slave pair
.SH SYNOPSIS .SH SYNOPSIS
@ -39,6 +39,9 @@ argument is not a file descriptor open for writing.
The The
.I fd .I fd
argument is not associated with a master pty. argument is not associated with a master pty.
.SH VERSIONS
.BR unlockpt ()
is provided in glibc since version 2.1.
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX.1-2001. POSIX.1-2001.
.SH "SEE ALSO" .SH "SEE ALSO"

View File

@ -20,7 +20,7 @@
.\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111, .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
.\" USA. .\" USA.
.\" .\"
.TH WORDEXP 3 2007-07-26 "" "Linux Programmer's Manual" .TH WORDEXP 3 2008-06-14 "" "Linux Programmer's Manual"
.SH NAME .SH NAME
wordexp, wordfree \- perform word expansion like a posix-shell wordexp, wordfree \- perform word expansion like a posix-shell
.SH SYNOPSIS .SH SYNOPSIS
@ -202,6 +202,11 @@ Out of memory.
.B WRDE_SYNTAX .B WRDE_SYNTAX
Shell syntax error, such as unbalanced parentheses or Shell syntax error, such as unbalanced parentheses or
unmatched quotes. unmatched quotes.
.SH VERSIONS
.BR wordexp ()
and
.BR wordfree ()
are provided in glibc since version 2.1.
.SH "CONFORMING TO" .SH "CONFORMING TO"
POSIX.1-2001 POSIX.1-2001
.SH "SEE ALSO" .SH "SEE ALSO"