mirror of https://github.com/mkerrisk/man-pages
Added/updated glibc feature test macro requirements
This commit is contained in:
parent
86c256953d
commit
cc4615cc78
11
man2/_exit.2
11
man2/_exit.2
|
@ -26,7 +26,7 @@
|
||||||
.\" Modified Wed Jul 21 23:02:38 1993 by Rik Faith <faith@cs.unc.edu>
|
.\" Modified Wed Jul 21 23:02:38 1993 by Rik Faith <faith@cs.unc.edu>
|
||||||
.\" Modified 2001-11-17, aeb
|
.\" Modified 2001-11-17, aeb
|
||||||
.\"
|
.\"
|
||||||
.TH _EXIT 2 2001-11-17 "Linux" "Linux Programmer's Manual"
|
.TH _EXIT 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
_exit, _Exit \- terminate the current process
|
_exit, _Exit \- terminate the current process
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -37,6 +37,15 @@ _exit, _Exit \- terminate the current process
|
||||||
.B #include <stdlib.h>
|
.B #include <stdlib.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "void _Exit(int " status );
|
.BI "void _Exit(int " status );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR _Exit ():
|
||||||
|
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||||
|
.I cc\ -std=c99
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The function
|
The function
|
||||||
.BR _exit ()
|
.BR _exit ()
|
||||||
|
|
10
man2/acct.2
10
man2/acct.2
|
@ -29,7 +29,7 @@
|
||||||
.\" Modified 1998-11-04 by Tigran Aivazian <tigran@sco.com>
|
.\" Modified 1998-11-04 by Tigran Aivazian <tigran@sco.com>
|
||||||
.\" Modified 2004-05-27, 2004-06-17, 2004-06-23 by Michael Kerrisk
|
.\" Modified 2004-05-27, 2004-06-17, 2004-06-23 by Michael Kerrisk
|
||||||
.\"
|
.\"
|
||||||
.TH ACCT 2 2004-06-23 "Linux" "Linux Programmer's Manual"
|
.TH ACCT 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
acct \- switch process accounting on or off
|
acct \- switch process accounting on or off
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -40,6 +40,14 @@ acct \- switch process accounting on or off
|
||||||
.BI "int acct(const char *" filename );
|
.BI "int acct(const char *" filename );
|
||||||
.fi
|
.fi
|
||||||
.ad b
|
.ad b
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR acct ():
|
||||||
|
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
When called with the name of an existing file as argument, accounting is
|
When called with the name of an existing file as argument, accounting is
|
||||||
turned on, records for each terminating process are appended to
|
turned on, records for each terminating process are appended to
|
||||||
|
|
13
man2/brk.2
13
man2/brk.2
|
@ -27,7 +27,7 @@
|
||||||
.\" Modified Wed Jul 21 19:52:58 1993 by Rik Faith <faith@cs.unc.edu>
|
.\" Modified Wed Jul 21 19:52:58 1993 by Rik Faith <faith@cs.unc.edu>
|
||||||
.\" Modified Sun Aug 21 17:40:38 1994 by Rik Faith <faith@cs.unc.edu>
|
.\" Modified Sun Aug 21 17:40:38 1994 by Rik Faith <faith@cs.unc.edu>
|
||||||
.\"
|
.\"
|
||||||
.TH BRK 2 2003-11-01 "Linux" "Linux Programmer's Manual"
|
.TH BRK 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
brk, sbrk \- change data segment size
|
brk, sbrk \- change data segment size
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -36,6 +36,17 @@ brk, sbrk \- change data segment size
|
||||||
.BI "int brk(void *" end_data_segment );
|
.BI "int brk(void *" end_data_segment );
|
||||||
.sp
|
.sp
|
||||||
.BI "void *sbrk(intptr_t " increment );
|
.BI "void *sbrk(intptr_t " increment );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR brk (),
|
||||||
|
.BR sbrk ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR brk ()
|
.BR brk ()
|
||||||
sets the end of the data segment to the value specified by
|
sets the end of the data segment to the value specified by
|
||||||
|
|
10
man2/chdir.2
10
man2/chdir.2
|
@ -30,7 +30,7 @@
|
||||||
.\" Modified 1997-08-21 by Joseph S. Myers <jsm28@cam.ac.uk>
|
.\" Modified 1997-08-21 by Joseph S. Myers <jsm28@cam.ac.uk>
|
||||||
.\" Modified 2004-06-23 by Michael Kerrisk <mtk-manpages@gmx.net>
|
.\" Modified 2004-06-23 by Michael Kerrisk <mtk-manpages@gmx.net>
|
||||||
.\"
|
.\"
|
||||||
.TH CHDIR 2 2007-06-18 "Linux" "Linux Programmer's Manual"
|
.TH CHDIR 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
chdir, fchdir \- change working directory
|
chdir, fchdir \- change working directory
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -39,6 +39,14 @@ chdir, fchdir \- change working directory
|
||||||
.BI "int chdir(const char *" path );
|
.BI "int chdir(const char *" path );
|
||||||
.br
|
.br
|
||||||
.BI "int fchdir(int " fd );
|
.BI "int fchdir(int " fd );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR fchdir ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR chdir ()
|
.BR chdir ()
|
||||||
changes the current working directory pf the calling process to the
|
changes the current working directory pf the calling process to the
|
||||||
|
|
14
man2/chmod.2
14
man2/chmod.2
|
@ -28,19 +28,23 @@
|
||||||
.\" <michael@cantor.informatik.rwth-aachen.de>: NFS details
|
.\" <michael@cantor.informatik.rwth-aachen.de>: NFS details
|
||||||
.\" Modified 2004-06-23 by Michael Kerrisk <mtk-manpages@gmx.net>
|
.\" Modified 2004-06-23 by Michael Kerrisk <mtk-manpages@gmx.net>
|
||||||
.\"
|
.\"
|
||||||
.TH CHMOD 2 2004-07-08 "Linux" "Linux Programmer's Manual"
|
.TH CHMOD 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
chmod, fchmod \- change permissions of a file
|
chmod, fchmod \- change permissions of a file
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <sys/stat.h>
|
.B #include <sys/stat.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int chmod(const char *" path ", mode_t " mode );
|
.BI "int chmod(const char *" path ", mode_t " mode );
|
||||||
.sp
|
|
||||||
.BR "#define _XOPEN_SOURCE 500 " "/* or: " "#define _BSD_SOURCE " */
|
|
||||||
.br
|
.br
|
||||||
.B #include <sys/stat.h>
|
|
||||||
.sp
|
|
||||||
.BI "int fchmod(int " fildes ", mode_t " mode );
|
.BI "int fchmod(int " fildes ", mode_t " mode );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR fchmod ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The mode of the file given by
|
The mode of the file given by
|
||||||
.I path
|
.I path
|
||||||
|
|
16
man2/chown.2
16
man2/chown.2
|
@ -32,7 +32,7 @@
|
||||||
.\" Modified 2004-06-23 by Michael Kerrisk <mtk-manpages@gmx.net>
|
.\" Modified 2004-06-23 by Michael Kerrisk <mtk-manpages@gmx.net>
|
||||||
.\" 2007-07-08, mtk, added an example program; updated SYNOPSIS
|
.\" 2007-07-08, mtk, added an example program; updated SYNOPSIS
|
||||||
.\"
|
.\"
|
||||||
.TH CHOWN 2 2007-07-08 "Linux" "Linux Programmer's Manual"
|
.TH CHOWN 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
chown, fchown, lchown \- change ownership of a file
|
chown, fchown, lchown \- change ownership of a file
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -40,14 +40,18 @@ chown, fchown, lchown \- change ownership of a file
|
||||||
.sp
|
.sp
|
||||||
.BI "int chown(const char *" path ", uid_t " owner ", gid_t " group );
|
.BI "int chown(const char *" path ", uid_t " owner ", gid_t " group );
|
||||||
.br
|
.br
|
||||||
.sp
|
|
||||||
.BR "#define _XOPEN_SOURCE 500 " "/* or: " "#define _BSD_SOURCE " */
|
|
||||||
.br
|
|
||||||
.B #include <unistd.h>
|
|
||||||
.sp
|
|
||||||
.BI "int fchown(int " fd ", uid_t " owner ", gid_t " group );
|
.BI "int fchown(int " fd ", uid_t " owner ", gid_t " group );
|
||||||
.br
|
.br
|
||||||
.BI "int lchown(const char *" path ", uid_t " owner ", gid_t " group );
|
.BI "int lchown(const char *" path ", uid_t " owner ", gid_t " group );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR fchown (),
|
||||||
|
.BR lchown ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
These system calls change the owner and group of the file specified by
|
These system calls change the owner and group of the file specified by
|
||||||
.I path
|
.I path
|
||||||
|
|
|
@ -35,11 +35,14 @@
|
||||||
.\" FIXME Document CLONE_NEWIPC, which is new in 2.6.18
|
.\" FIXME Document CLONE_NEWIPC, which is new in 2.6.18
|
||||||
.\" FIXME Document CLONE_NEWUTS, which is new in 2.6.19
|
.\" FIXME Document CLONE_NEWUTS, which is new in 2.6.19
|
||||||
.\"
|
.\"
|
||||||
.TH CLONE 2 2007-06-01 "Linux" "Linux Programmer's Manual"
|
.TH CLONE 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
clone, __clone2 \- create a child process
|
clone, __clone2 \- create a child process
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
|
.B #define _GNU_SOURCE
|
||||||
|
.\" Actually _BSD_SOURCE || _SVID_SOURCE
|
||||||
|
.\" See http://sources.redhat.com/bugzilla/show_bug.cgi?id=4749
|
||||||
.B #include <sched.h>
|
.B #include <sched.h>
|
||||||
|
|
||||||
.BI "int clone(int (*" "fn" ")(void *), void *" child_stack ,
|
.BI "int clone(int (*" "fn" ")(void *), void *" child_stack ,
|
||||||
|
|
|
@ -28,13 +28,21 @@
|
||||||
.\" 1996-04-12 Andries Brouwer <aeb@cwi.nl>
|
.\" 1996-04-12 Andries Brouwer <aeb@cwi.nl>
|
||||||
.\" 1996-04-13 Markus Kuhn <mskuhn@cip.informatik.uni-erlangen.de>
|
.\" 1996-04-13 Markus Kuhn <mskuhn@cip.informatik.uni-erlangen.de>
|
||||||
.\"
|
.\"
|
||||||
.TH FDATASYNC 2 1996-04-13 "Linux" "Linux Programmer's Manual"
|
.TH FDATASYNC 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fdatasync \- synchronize a file's in-core data with that on disk
|
fdatasync \- synchronize a file's in-core data with that on disk
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int fdatasync(int " fd );
|
.BI "int fdatasync(int " fd );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR fdatasync ():
|
||||||
|
_POSIX_C_SOURCE\ >=\ 199309L || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR fdatasync ()
|
.BR fdatasync ()
|
||||||
flushes all data buffers of a file to disk (before the system
|
flushes all data buffers of a file to disk (before the system
|
||||||
|
|
13
man2/fsync.2
13
man2/fsync.2
|
@ -34,7 +34,7 @@
|
||||||
.\" Fix description to describe what it really does; add a few caveats.
|
.\" Fix description to describe what it really does; add a few caveats.
|
||||||
.\" 2006-04-28, mtk, substantial rewrite of various parts.
|
.\" 2006-04-28, mtk, substantial rewrite of various parts.
|
||||||
.\"
|
.\"
|
||||||
.TH FSYNC 2 2006-04-28 "Linux" "Linux Programmer's Manual"
|
.TH FSYNC 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fsync, fdatasync \- synchronize a file's in-core state with storage device
|
fsync, fdatasync \- synchronize a file's in-core state with storage device
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -43,6 +43,17 @@ fsync, fdatasync \- synchronize a file's in-core state with storage device
|
||||||
.BI "int fsync(int " fd );
|
.BI "int fsync(int " fd );
|
||||||
.sp
|
.sp
|
||||||
.BI "int fdatasync(int " fd );
|
.BI "int fdatasync(int " fd );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR fsync ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE
|
||||||
|
.br
|
||||||
|
.BR fdatasync ():
|
||||||
|
_POSIX_C_SOURCE\ >=\ 199309L || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR fsync ()
|
.BR fsync ()
|
||||||
transfers ("flushes") all modified in-core data of
|
transfers ("flushes") all modified in-core data of
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
.\" Modified 1997-08-25 by Nicolás Lichtmaier <nick@debian.org>
|
.\" Modified 1997-08-25 by Nicolás Lichtmaier <nick@debian.org>
|
||||||
.\" Modified 2004-06-17 by Michael Kerrisk <mtk-manpages@gmx.net>
|
.\" Modified 2004-06-17 by Michael Kerrisk <mtk-manpages@gmx.net>
|
||||||
.\"
|
.\"
|
||||||
.TH GETDOMAINNAME 2 2004-06-17 "Linux" "Linux Programmer's Manual"
|
.TH GETDOMAINNAME 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getdomainname, setdomainname \- get/set domain name
|
getdomainname, setdomainname \- get/set domain name
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -34,6 +34,17 @@ getdomainname, setdomainname \- get/set domain name
|
||||||
.BI "int getdomainname(char *" name ", size_t " len );
|
.BI "int getdomainname(char *" name ", size_t " len );
|
||||||
.br
|
.br
|
||||||
.BI "int setdomainname(const char *" name ", size_t " len );
|
.BI "int setdomainname(const char *" name ", size_t " len );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR getdomainame (),
|
||||||
|
.BR setdomainame ():
|
||||||
|
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
These functions are used to access or to change the domain name of the
|
These functions are used to access or to change the domain name of the
|
||||||
current processor.
|
current processor.
|
||||||
|
|
|
@ -24,13 +24,21 @@
|
||||||
.\"
|
.\"
|
||||||
.\" Modified 2002-04-15 by Roger Luethi <rl@hellgate.ch> and aeb
|
.\" Modified 2002-04-15 by Roger Luethi <rl@hellgate.ch> and aeb
|
||||||
.\"
|
.\"
|
||||||
.TH GETDTABLESIZE 2 2002-04-15 "Linux" "Linux Programmer's Manual"
|
.TH GETDTABLESIZE 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getdtablesize \- get descriptor table size
|
getdtablesize \- get descriptor table size
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.sp
|
.sp
|
||||||
.B int getdtablesize(void);
|
.B int getdtablesize(void);
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR getdtablesize ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR getdtablesize ()
|
.BR getdtablesize ()
|
||||||
returns the maximum number of files a process can have open,
|
returns the maximum number of files a process can have open,
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
.\" Modified, 27 May 2004, Michael Kerrisk <mtk-manpages@gmx.net>
|
.\" Modified, 27 May 2004, Michael Kerrisk <mtk-manpages@gmx.net>
|
||||||
.\" Added notes on capability requirements
|
.\" Added notes on capability requirements
|
||||||
.\"
|
.\"
|
||||||
.TH GETGROUPS 2 2004-05-27 "Linux" "Linux Programmer's Manual"
|
.TH GETGROUPS 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getgroups, setgroups \- get/set list of supplementary group IDs
|
getgroups, setgroups \- get/set list of supplementary group IDs
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -39,6 +39,14 @@ getgroups, setgroups \- get/set list of supplementary group IDs
|
||||||
.B #include <grp.h>
|
.B #include <grp.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int setgroups(size_t " size ", const gid_t *" list );
|
.BI "int setgroups(size_t " size ", const gid_t *" list );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR setgroups ():
|
||||||
|
_BSD_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.TP
|
.TP
|
||||||
.BR getgroups ()
|
.BR getgroups ()
|
||||||
|
@ -124,12 +132,6 @@ The maximum number of supplementary group IDs can be found using
|
||||||
The maximal return value of
|
The maximal return value of
|
||||||
.BR getgroups ()
|
.BR getgroups ()
|
||||||
cannot be larger than one more than the value obtained this way.
|
cannot be larger than one more than the value obtained this way.
|
||||||
.LP
|
|
||||||
The prototype for
|
|
||||||
.BR setgroups ()
|
|
||||||
is only available if
|
|
||||||
.B _BSD_SOURCE
|
|
||||||
is defined.
|
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR getgid (2),
|
.BR getgid (2),
|
||||||
.BR setgid (2),
|
.BR setgid (2),
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
.\" Portions Copyright 1993 Mitchum DSouza <m.dsouza@mrc-apu.cam.ac.uk>
|
.\" Portions Copyright 1993 Mitchum DSouza <m.dsouza@mrc-apu.cam.ac.uk>
|
||||||
.\"
|
.\"
|
||||||
.\" Modified Tue Oct 22 00:22:35 EDT 1996 by Eric S. Raymond <esr@thyrsus.com>
|
.\" Modified Tue Oct 22 00:22:35 EDT 1996 by Eric S. Raymond <esr@thyrsus.com>
|
||||||
.TH GETHOSTID 2 2007-06-15 "Linux" "Linux Programmer's Manual"
|
.TH GETHOSTID 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
gethostid, sethostid \- get or set the unique identifier of the current host
|
gethostid, sethostid \- get or set the unique identifier of the current host
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -35,6 +35,16 @@ gethostid, sethostid \- get or set the unique identifier of the current host
|
||||||
.B long gethostid(void);
|
.B long gethostid(void);
|
||||||
.br
|
.br
|
||||||
.BI "int sethostid(long " hostid );
|
.BI "int sethostid(long " hostid );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR sethostid ():
|
||||||
|
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Get or set a unique 32-bit identifier for the current machine.
|
Get or set a unique 32-bit identifier for the current machine.
|
||||||
The 32-bit identifier is intended to be unique among all UNIX systems in
|
The 32-bit identifier is intended to be unique among all UNIX systems in
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
.\" Modified 2000-06-04, 2001-12-15 by aeb
|
.\" Modified 2000-06-04, 2001-12-15 by aeb
|
||||||
.\" Modified 2004-06-17 by mtk
|
.\" Modified 2004-06-17 by mtk
|
||||||
.\"
|
.\"
|
||||||
.TH GETHOSTNAME 2 2004-06-17 "Linux" "Linux Programmer's Manual"
|
.TH GETHOSTNAME 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
gethostname, sethostname \- get/set host name
|
gethostname, sethostname \- get/set host name
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -37,6 +37,19 @@ gethostname, sethostname \- get/set host name
|
||||||
.BI "int gethostname(char *" name ", size_t " len );
|
.BI "int gethostname(char *" name ", size_t " len );
|
||||||
.br
|
.br
|
||||||
.BI "int sethostname(const char *" name ", size_t " len );
|
.BI "int sethostname(const char *" name ", size_t " len );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR gethostname ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
|
.br
|
||||||
|
.BR sethostname ():
|
||||||
|
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
These system calls are used to access or to change the host name of the
|
These system calls are used to access or to change the host name of the
|
||||||
current processor.
|
current processor.
|
||||||
|
|
|
@ -20,13 +20,21 @@
|
||||||
.\" 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 GETPAGESIZE 2 2001-12-21 "Linux" "Linux Programmer's Manual"
|
.TH GETPAGESIZE 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getpagesize \- get memory page size
|
getpagesize \- get memory page size
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.sp
|
.sp
|
||||||
.B int getpagesize(void);
|
.B int getpagesize(void);
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR getpagesize ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The function
|
The function
|
||||||
.BR getpagesize ()
|
.BR getpagesize ()
|
||||||
|
|
|
@ -22,13 +22,21 @@
|
||||||
.\"
|
.\"
|
||||||
.\" Modified Thu Oct 31 14:18:40 1996 by Eric S. Raymond <esr@y\thyrsus.com>
|
.\" Modified Thu Oct 31 14:18:40 1996 by Eric S. Raymond <esr@y\thyrsus.com>
|
||||||
.\" Modified 2001-12-17, aeb
|
.\" Modified 2001-12-17, aeb
|
||||||
.TH GETSID 2 2001-12-17 "Linux" "Linux Programmer's Manual"
|
.TH GETSID 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getsid \- get session ID
|
getsid \- get session ID
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "pid_t getsid(pid_t" " pid" );
|
.BI "pid_t getsid(pid_t" " pid" );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR getsid ():
|
||||||
|
_XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.I getsid(0)
|
.I getsid(0)
|
||||||
returns the session ID of the calling process.
|
returns the session ID of the calling process.
|
||||||
|
@ -39,7 +47,7 @@ returns the session ID of the process with process ID
|
||||||
session leader.)
|
session leader.)
|
||||||
.SH RETURN VALUE
|
.SH RETURN VALUE
|
||||||
On success, a session ID is returned.
|
On success, a session ID is returned.
|
||||||
On error, (pid_t) \-1 will be returned, and
|
On error, \fI(pid_t) \-1\fP will be returned, and
|
||||||
.I errno
|
.I errno
|
||||||
is set appropriately.
|
is set appropriately.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
|
@ -62,15 +70,7 @@ Linux does not return
|
||||||
.LP
|
.LP
|
||||||
Linux has this system call since Linux 1.3.44.
|
Linux has this system call since Linux 1.3.44.
|
||||||
There is libc support since libc 5.2.19.
|
There is libc support since libc 5.2.19.
|
||||||
.LP
|
|
||||||
To get the prototype under glibc, define both
|
|
||||||
.BR _XOPEN_SOURCE
|
|
||||||
and
|
|
||||||
.BR _XOPEN_SOURCE_EXTENDED ,
|
|
||||||
or use "#define _XOPEN_SOURCE \fIn\fP"
|
|
||||||
for some integer \fIn\fP larger than or equal to 500.
|
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR getpgid (2),
|
.BR getpgid (2),
|
||||||
.BR setsid (2),
|
.BR setsid (2),
|
||||||
.BR credentials (7),
|
.BR credentials (7)
|
||||||
.BR feature_test_macros (7)
|
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
.\" Modified, 2004-05-27 by Michael Kerrisk <mtk-manpages@gmx.net>
|
.\" Modified, 2004-05-27 by Michael Kerrisk <mtk-manpages@gmx.net>
|
||||||
.\" Added notes on capability requirement.
|
.\" Added notes on capability requirement.
|
||||||
.\"
|
.\"
|
||||||
.TH GETTIMEOFDAY 2 2004-05-27 "Linux" "Linux Programmer's Manual"
|
.TH GETTIMEOFDAY 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
gettimeofday, settimeofday \- get / set time
|
gettimeofday, settimeofday \- get / set time
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -47,6 +47,14 @@ gettimeofday, settimeofday \- get / set time
|
||||||
.br
|
.br
|
||||||
.BI "int settimeofday(const struct timeval *" tv
|
.BI "int settimeofday(const struct timeval *" tv
|
||||||
.BI ", const struct timezone *" tz );
|
.BI ", const struct timezone *" tz );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR settimeofday ():
|
||||||
|
_BSD_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The functions
|
The functions
|
||||||
.BR gettimeofday ()
|
.BR gettimeofday ()
|
||||||
|
|
10
man2/kill.2
10
man2/kill.2
|
@ -41,7 +41,7 @@
|
||||||
.\" Modified 2004-06-24 by aeb
|
.\" Modified 2004-06-24 by aeb
|
||||||
.\" Modified, 2004-11-30, after idea from emmanuel.colbus@ensimag.imag.fr
|
.\" Modified, 2004-11-30, after idea from emmanuel.colbus@ensimag.imag.fr
|
||||||
.\"
|
.\"
|
||||||
.TH KILL 2 2004-06-24 "Linux" "Linux Programmer's Manual"
|
.TH KILL 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
kill \- send signal to a process
|
kill \- send signal to a process
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -52,6 +52,14 @@ kill \- send signal to a process
|
||||||
.sp
|
.sp
|
||||||
.BI "int kill(pid_t " pid ", int " sig );
|
.BI "int kill(pid_t " pid ", int " sig );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR kill ():
|
||||||
|
_POSIX_C_SOURCE || _XOPEN_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR kill ()
|
.BR kill ()
|
||||||
|
|
|
@ -37,13 +37,21 @@
|
||||||
.\" Added notes on CAP_KILL
|
.\" Added notes on CAP_KILL
|
||||||
.\" Modified 2004-06-21 by aeb
|
.\" Modified 2004-06-21 by aeb
|
||||||
.\"
|
.\"
|
||||||
.TH KILLPG 2 2007-06-18 "Linux" "Linux Programmer's Manual"
|
.TH KILLPG 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
killpg \- send signal to a process group
|
killpg \- send signal to a process group
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <signal.h>
|
.B #include <signal.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int killpg(int " pgrp ", int " sig );
|
.BI "int killpg(int " pgrp ", int " sig );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR killpg ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR killpg ()
|
.BR killpg ()
|
||||||
sends the signal
|
sends the signal
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
.\" Modified, 25 Feb 2002, Michael Kerrisk, <mtk-manpages@gmx.net>
|
.\" Modified, 25 Feb 2002, Michael Kerrisk, <mtk-manpages@gmx.net>
|
||||||
.\" Added notes on MADV_DONTNEED
|
.\" Added notes on MADV_DONTNEED
|
||||||
.\"
|
.\"
|
||||||
.TH MADVISE 2 2001-06-10 "Linux" "Linux Programmer's Manual"
|
.TH MADVISE 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
madvise \- give advice about use of memory
|
madvise \- give advice about use of memory
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -34,6 +34,14 @@ madvise \- give advice about use of memory
|
||||||
.B #include <sys/mman.h>
|
.B #include <sys/mman.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int madvise(void *" start ", size_t " length ", int " advice );
|
.BI "int madvise(void *" start ", size_t " length ", int " advice );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR madvise ():
|
||||||
|
_BSD_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR madvise ()
|
.BR madvise ()
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
.\" after message from <gordon.jin@intel.com>
|
.\" after message from <gordon.jin@intel.com>
|
||||||
.\" 2007-01-08 mtk, rewrote various parts
|
.\" 2007-01-08 mtk, rewrote various parts
|
||||||
.\"
|
.\"
|
||||||
.TH MINCORE 2 2007-01-08 "Linux" "Linux Programmer's Manual"
|
.TH MINCORE 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
mincore \- determine whether pages are resident in memory
|
mincore \- determine whether pages are resident in memory
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -40,6 +40,14 @@ mincore \- determine whether pages are resident in memory
|
||||||
.B #include <sys/mman.h>
|
.B #include <sys/mman.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int mincore(void *" start ", size_t " length ", unsigned char *" vec );
|
.BI "int mincore(void *" start ", size_t " length ", unsigned char *" vec );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR mincore ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR mincore ()
|
.BR mincore ()
|
||||||
returns a vector that indicates whether pages
|
returns a vector that indicates whether pages
|
||||||
|
|
10
man2/mknod.2
10
man2/mknod.2
|
@ -10,7 +10,7 @@
|
||||||
.\" Modified 2003-04-23 by Michael Kerrisk
|
.\" Modified 2003-04-23 by Michael Kerrisk
|
||||||
.\" Modified 2004-06-23 by Michael Kerrisk <mtk-manpages@gmx.net>
|
.\" Modified 2004-06-23 by Michael Kerrisk <mtk-manpages@gmx.net>
|
||||||
.\"
|
.\"
|
||||||
.TH MKNOD 2 2004-06-23 "Linux" "Linux Programmer's Manual"
|
.TH MKNOD 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
mknod \- create a special or ordinary file
|
mknod \- create a special or ordinary file
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -22,6 +22,14 @@ mknod \- create a special or ordinary file
|
||||||
.sp
|
.sp
|
||||||
.BI "int mknod(const char *" pathname ", mode_t " mode ", dev_t " dev );
|
.BI "int mknod(const char *" pathname ", mode_t " mode ", dev_t " dev );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR mknod ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The system call
|
The system call
|
||||||
.BR mknod ()
|
.BR mknod ()
|
||||||
|
|
|
@ -25,14 +25,21 @@
|
||||||
.\" 1996-04-10 Markus Kuhn <mskuhn@cip.informatik.uni-erlangen.de>
|
.\" 1996-04-10 Markus Kuhn <mskuhn@cip.informatik.uni-erlangen.de>
|
||||||
.\" First version written
|
.\" First version written
|
||||||
.\" Modified, 2004-10-24, aeb
|
.\" Modified, 2004-10-24, aeb
|
||||||
.TH NANOSLEEP 2 2004-10-24 "Linux" "Linux Programmer's Manual"
|
.TH NANOSLEEP 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
nanosleep \- pause execution for a specified time
|
nanosleep \- pause execution for a specified time
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #define _POSIX_C_SOURCE 199309
|
|
||||||
.B #include <time.h>
|
.B #include <time.h>
|
||||||
.sp
|
.sp
|
||||||
\fBint nanosleep(const struct timespec *\fIreq\fB, struct timespec *\fIrem\fB);
|
.BI "int nanosleep(const struct timespec *" req ", struct timespec *" rem );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR nanosleep ():
|
||||||
|
_POSIX_C_SOURCE\ >=\ 199309L
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR nanosleep ()
|
.BR nanosleep ()
|
||||||
delays the execution of the program for at least the time specified in
|
delays the execution of the program for at least the time specified in
|
||||||
|
@ -154,5 +161,4 @@ then the time that the process spent in the stopped state is
|
||||||
.BR sleep (3),
|
.BR sleep (3),
|
||||||
.BR timer_create (3),
|
.BR timer_create (3),
|
||||||
.BR usleep (3),
|
.BR usleep (3),
|
||||||
.BR feature_test_macros (7),
|
|
||||||
.BR time (7)
|
.BR time (7)
|
||||||
|
|
10
man2/nice.2
10
man2/nice.2
|
@ -28,13 +28,21 @@
|
||||||
.\" Modified 2001-06-04 by aeb
|
.\" Modified 2001-06-04 by aeb
|
||||||
.\" Modified 2004-05-27 by Michael Kerrisk <mtk-manpages@gmx.net>
|
.\" Modified 2004-05-27 by Michael Kerrisk <mtk-manpages@gmx.net>
|
||||||
.\"
|
.\"
|
||||||
.TH NICE 2 2005-09-20 "Linux" "Linux Programmer's Manual"
|
.TH NICE 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
nice \- change process priority
|
nice \- change process priority
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int nice(int " inc );
|
.BI "int nice(int " inc );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR getcwd ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR nice ()
|
.BR nice ()
|
||||||
adds
|
adds
|
||||||
|
|
|
@ -22,11 +22,12 @@
|
||||||
.\" 2004-05-40 Created by Michael Kerrisk <mtk-manpages@gmx.net>
|
.\" 2004-05-40 Created by Michael Kerrisk <mtk-manpages@gmx.net>
|
||||||
.\" 2004-10-05 aeb, minor correction
|
.\" 2004-10-05 aeb, minor correction
|
||||||
.\"
|
.\"
|
||||||
.TH READAHEAD 2 2004-10-05 "Linux" "Linux Programmer's Manual"
|
.TH READAHEAD 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
readahead \- perform file readahead into page cache
|
readahead \- perform file readahead into page cache
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
|
.B #define _GNU_SOURCE
|
||||||
.B #include <fcntl.h>
|
.B #include <fcntl.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "ssize_t readahead(int " fd ", off64_t *" offset ", size_t " count );
|
.BI "ssize_t readahead(int " fd ", off64_t *" offset ", size_t " count );
|
||||||
|
|
|
@ -35,13 +35,23 @@
|
||||||
.\" Modified Tue Jul 9 23:55:17 1996 by aeb
|
.\" Modified Tue Jul 9 23:55:17 1996 by aeb
|
||||||
.\" Modified Fri Jan 24 00:26:00 1997 by aeb
|
.\" Modified Fri Jan 24 00:26:00 1997 by aeb
|
||||||
.\"
|
.\"
|
||||||
.TH READLINK 2 1997-08-21 "Linux" "Linux Programmer's Manual"
|
.TH READLINK 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
readlink \- read value of a symbolic link
|
readlink \- read value of a symbolic link
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "ssize_t readlink(const char *" path ", char *" buf ", size_t " bufsiz );
|
.BI "ssize_t readlink(const char *" path ", char *" buf ", size_t " bufsiz );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR readlink ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _POSIX_C_SOURCE\ >=\ 200112L
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR readlink ()
|
.BR readlink ()
|
||||||
places the contents of the symbolic link
|
places the contents of the symbolic link
|
||||||
|
|
|
@ -35,7 +35,7 @@
|
||||||
.\" 2005-03-11, mtk, modified pselect() text (it is now a system
|
.\" 2005-03-11, mtk, modified pselect() text (it is now a system
|
||||||
.\" call in 2.6.16.
|
.\" call in 2.6.16.
|
||||||
.\"
|
.\"
|
||||||
.TH SELECT 2 2006-03-11 "Linux" "Linux Programmer's Manual"
|
.TH SELECT 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO \-
|
select, pselect, FD_CLR, FD_ISSET, FD_SET, FD_ZERO \-
|
||||||
synchronous I/O multiplexing
|
synchronous I/O multiplexing
|
||||||
|
@ -53,8 +53,8 @@ synchronous I/O multiplexing
|
||||||
.br
|
.br
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.sp
|
.sp
|
||||||
\fBint select(int \fInfds\fB, fd_set *\fIreadfds\fB, fd_set *\fIwritefds\fB,
|
.BI "int select(int " nfds ", fd_set *" readfds ", fd_set *" writefds ,
|
||||||
fd_set *\fIexceptfds\fB, struct timeval *\fItimeout\fB);
|
.BI " fd_set *" exceptfds ", struct timeval *" timeout );
|
||||||
.sp
|
.sp
|
||||||
.BI "void FD_CLR(int " fd ", fd_set *" set );
|
.BI "void FD_CLR(int " fd ", fd_set *" set );
|
||||||
.br
|
.br
|
||||||
|
@ -64,13 +64,20 @@ synchronous I/O multiplexing
|
||||||
.br
|
.br
|
||||||
.BI "void FD_ZERO(fd_set *" set );
|
.BI "void FD_ZERO(fd_set *" set );
|
||||||
.sp
|
.sp
|
||||||
.B #define _XOPEN_SOURCE 600
|
|
||||||
.B #include <sys/select.h>
|
.B #include <sys/select.h>
|
||||||
.sp
|
.sp
|
||||||
\fBint pselect(int \fInfds\fB, fd_set *\fIreadfds\fB, fd_set *\fIwritefds\fB,
|
.BI "int pselect(int " nfds ", fd_set *" readfds ", fd_set *" writefds ,
|
||||||
fd_set *\fIexceptfds\fB, const struct timespec *\fItimeout\fB,
|
.BI " fd_set *" exceptfds ", const struct timespec *" timeout ,
|
||||||
const sigset_t *\fIsigmask\fB);
|
.BI " const sigset_t *" sigmask );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR pselect ():
|
||||||
|
_POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE\ >=\ 600
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR select ()
|
.BR select ()
|
||||||
and
|
and
|
||||||
|
@ -515,5 +522,4 @@ For vaguely related stuff, see
|
||||||
.BR send (2),
|
.BR send (2),
|
||||||
.BR sigprocmask (2),
|
.BR sigprocmask (2),
|
||||||
.BR write (2),
|
.BR write (2),
|
||||||
.BR epoll (7),
|
.BR epoll (7)
|
||||||
.BR feature_test_macros (7)
|
|
||||||
|
|
10
man2/semop.2
10
man2/semop.2
|
@ -30,7 +30,7 @@
|
||||||
.\" 2005-04-08, mtk, Noted kernel version numbers for semtimedop()
|
.\" 2005-04-08, mtk, Noted kernel version numbers for semtimedop()
|
||||||
.\" 2007-07-09, mtk, Added an EXAMPLE code segment.
|
.\" 2007-07-09, mtk, Added an EXAMPLE code segment.
|
||||||
.\"
|
.\"
|
||||||
.TH SEMOP 2 2007-07-09 "Linux" "Linux Programmer's Manual"
|
.TH SEMOP 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
semop, semtimedop \- semaphore operations
|
semop, semtimedop \- semaphore operations
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -47,6 +47,14 @@ semop, semtimedop \- semaphore operations
|
||||||
.BI "int semtimedop(int " semid ", struct sembuf *" sops ", unsigned " nsops ,
|
.BI "int semtimedop(int " semid ", struct sembuf *" sops ", unsigned " nsops ,
|
||||||
.BI " struct timespec *" timeout );
|
.BI " struct timespec *" timeout );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR semtimedop ():
|
||||||
|
_GNU_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Each semaphore in a semaphore set has the following associated values:
|
Each semaphore in a semaphore set has the following associated values:
|
||||||
.sp
|
.sp
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
.\" Modified, 27 May 2004, Michael Kerrisk <mtk-manpages@gmx.net>
|
.\" Modified, 27 May 2004, Michael Kerrisk <mtk-manpages@gmx.net>
|
||||||
.\" Added notes on capability requirements
|
.\" Added notes on capability requirements
|
||||||
.\"
|
.\"
|
||||||
.TH SETEGID 2 2004-05-27 "Linux" "Linux Programmer's Manual"
|
.TH SETEGID 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
seteuid, setegid \- set effective user or group ID
|
seteuid, setegid \- set effective user or group ID
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -35,6 +35,17 @@ seteuid, setegid \- set effective user or group ID
|
||||||
.BI "int seteuid(uid_t " euid );
|
.BI "int seteuid(uid_t " euid );
|
||||||
.br
|
.br
|
||||||
.BI "int setegid(gid_t " egid );
|
.BI "int setegid(gid_t " egid );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR seteuid (),
|
||||||
|
.BR setegid ():
|
||||||
|
_BSD_SOURCE || _POSIX_C_SOURCE\ >=\ 200112L || _XOPEN_SOURCE\ >=\ 600
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR seteuid ()
|
.BR seteuid ()
|
||||||
sets the effective user ID of the current process.
|
sets the effective user ID of the current process.
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
.\" 2007-07-25, mtk, fairly substantial rewrites and rearrangements
|
.\" 2007-07-25, mtk, fairly substantial rewrites and rearrangements
|
||||||
.\" of text.
|
.\" of text.
|
||||||
.\"
|
.\"
|
||||||
.TH SETPGID 2 2007-07-25 "Linux" "Linux Programmer's Manual"
|
.TH SETPGID 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
setpgid, getpgid, setpgrp, getpgrp \- set/get process group
|
setpgid, getpgid, setpgrp, getpgrp \- set/get process group
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -67,16 +67,18 @@ Feature Test Macro Requirements for glibc (see
|
||||||
.BR feature_test_macros (7)):
|
.BR feature_test_macros (7)):
|
||||||
.in
|
.in
|
||||||
.sp
|
.sp
|
||||||
|
.ad l
|
||||||
.BR getpgid ():
|
.BR getpgid ():
|
||||||
_XOPEN_SOURCE >= 500
|
_XOPEN_SOURCE\ >=\ 500
|
||||||
.br
|
.br
|
||||||
.BR setpgrp ()
|
.BR setpgrp ()
|
||||||
(POSIX.1): _SVID_SOURCE || _XOPEN_SOURCE >= 500
|
(POSIX.1): _SVID_SOURCE || _XOPEN_SOURCE >= 500
|
||||||
.sp
|
.sp
|
||||||
.BR setpgrp "()\ (BSD),"
|
.BR setpgrp "()\ (BSD),"
|
||||||
.BR getpgrp "()\ (BSD):"
|
.BR getpgrp "()\ (BSD):"
|
||||||
_BSD_SOURCE && ! (_POSIX_SOURCE || _POSIX_C_SOURCE ||
|
_BSD_SOURCE && !\ (_POSIX_SOURCE || _POSIX_C_SOURCE ||
|
||||||
_XOPEN_SOURCE || _XOPEN_SOURCE_EXTENDED || _GNU_SOURCE || _SVID_SOURCE)
|
_XOPEN_SOURCE || _XOPEN_SOURCE_EXTENDED || _GNU_SOURCE || _SVID_SOURCE)
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
All of these interfaces are available on Linux,
|
All of these interfaces are available on Linux,
|
||||||
and are used for getting and setting the
|
and are used for getting and setting the
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
.\" the source, must acknowledge the copyright and authors of this work.
|
.\" the source, must acknowledge the copyright and authors of this work.
|
||||||
.\"
|
.\"
|
||||||
.\" Modified, 2003-05-26, Michael Kerrisk, <mtk-manpages@gmx.net>
|
.\" Modified, 2003-05-26, Michael Kerrisk, <mtk-manpages@gmx.net>
|
||||||
.TH SETRESUID 2 2003-05-26 "Linux" "Linux Programmer's Manual"
|
.TH SETRESUID 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
setresuid, setresgid \- set real, effective and saved user or group ID
|
setresuid, setresgid \- set real, effective and saved user or group ID
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -86,10 +86,7 @@ they also appear on HP-UX and some of the BSDs.
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
Under HP-UX and FreeBSD the prototype is found in
|
Under HP-UX and FreeBSD the prototype is found in
|
||||||
.IR <unistd.h> .
|
.IR <unistd.h> .
|
||||||
Under Linux the prototype is given by glibc since version 2.3.2
|
Under Linux the prototype is provided by glibc since version 2.3.2.
|
||||||
provided
|
|
||||||
.B _GNU_SOURCE
|
|
||||||
is defined.
|
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR getresuid (2),
|
.BR getresuid (2),
|
||||||
.BR getuid (2),
|
.BR getuid (2),
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
.\" 2004-07-04 by aeb
|
.\" 2004-07-04 by aeb
|
||||||
.\" 2004-05-27 by Michael Kerrisk
|
.\" 2004-05-27 by Michael Kerrisk
|
||||||
.\"
|
.\"
|
||||||
.TH SETREUID 2 2004-07-04 "Linux" "Linux Programmer's Manual"
|
.TH SETREUID 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
setreuid, setregid \- set real and/or effective user or group ID
|
setreuid, setregid \- set real and/or effective user or group ID
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -51,6 +51,15 @@ setreuid, setregid \- set real and/or effective user or group ID
|
||||||
.BI "int setreuid(uid_t " ruid ", uid_t " euid );
|
.BI "int setreuid(uid_t " ruid ", uid_t " euid );
|
||||||
.br
|
.br
|
||||||
.BI "int setregid(gid_t " rgid ", gid_t " egid );
|
.BI "int setregid(gid_t " rgid ", gid_t " egid );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR setreuid (),
|
||||||
|
.BR setregid ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR setreuid ()
|
.BR setreuid ()
|
||||||
sets real and effective user IDs of the current process.
|
sets real and effective user IDs of the current process.
|
||||||
|
|
|
@ -19,13 +19,24 @@
|
||||||
.\" the source, must acknowledge the copyright and authors of this work.
|
.\" the source, must acknowledge the copyright and authors of this work.
|
||||||
.\"
|
.\"
|
||||||
.\" aeb, various minor fixes
|
.\" aeb, various minor fixes
|
||||||
.TH SIGALTSTACK 2 2001-09-27 "Linux" "Linux Programmer's Manual"
|
.TH SIGALTSTACK 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
sigaltstack \- set and/or get signal stack context
|
sigaltstack \- set and/or get signal stack context
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <signal.h>
|
.B #include <signal.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int sigaltstack(const stack_t *" ss ", stack_t *" oss );
|
.BI "int sigaltstack(const stack_t *" ss ", stack_t *" oss );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR sigaltstack ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
|
.\" .br
|
||||||
|
.\" .BR sigstack ():
|
||||||
|
.\" _BSD_SOURCE || _XOPEN_SOURCE >= 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR sigaltstack ()
|
.BR sigaltstack ()
|
||||||
allows a process to define a new alternate
|
allows a process to define a new alternate
|
||||||
|
|
|
@ -20,13 +20,21 @@
|
||||||
.\" added note on self-signaling, aeb, 2002-06-07
|
.\" added note on self-signaling, aeb, 2002-06-07
|
||||||
.\" added note on CAP_KILL, mtk, 2004-06-16
|
.\" added note on CAP_KILL, mtk, 2004-06-16
|
||||||
.\"
|
.\"
|
||||||
.TH SIGQUEUE 2 2004-06-16 "Linux" "Linux Programmer's Manual"
|
.TH SIGQUEUE 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
sigqueue, rt_sigqueueinfo \- queue a signal and data to a process
|
sigqueue, rt_sigqueueinfo \- queue a signal and data to a process
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <signal.h>
|
.B #include <signal.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int sigqueue(pid_t " pid ", int " sig ", const union sigval " value );
|
.BI "int sigqueue(pid_t " pid ", int " sig ", const union sigval " value );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR sigqueue ():
|
||||||
|
_POSIX_C_SOURCE\ >=\ 199309L
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR sigqueue ()
|
.BR sigqueue ()
|
||||||
sends the signal specified in
|
sends the signal specified in
|
||||||
|
|
|
@ -17,7 +17,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 SIGWAITINFO 2 2002-06-07 "Linux" "Linux Programmer's Manual"
|
.TH SIGWAITINFO 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
sigwaitinfo, sigtimedwait \- synchronously wait for queued signals
|
sigwaitinfo, sigtimedwait \- synchronously wait for queued signals
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -29,6 +29,15 @@ sigwaitinfo, sigtimedwait \- synchronously wait for queued signals
|
||||||
.BI "int sigtimedwait(const sigset_t *" set ", siginfo_t *" info ", "
|
.BI "int sigtimedwait(const sigset_t *" set ", siginfo_t *" info ", "
|
||||||
.BI " const struct timespec *" timeout ");"
|
.BI " const struct timespec *" timeout ");"
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR sigwaitinfo (),
|
||||||
|
.BR sigtimedwait ():
|
||||||
|
_POSIX_C_SOURCE\ >=\ 199309L
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR sigwaitinfo ()
|
.BR sigwaitinfo ()
|
||||||
suspends execution of the calling process until one of the signals in
|
suspends execution of the calling process until one of the signals in
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
.\" 2007-06-08 mtk: Added example program
|
.\" 2007-06-08 mtk: Added example program
|
||||||
.\" 2007-07-05 mtk: Added details on underlying system call interfaces
|
.\" 2007-07-05 mtk: Added details on underlying system call interfaces
|
||||||
.\"
|
.\"
|
||||||
.TH STAT 2 2007-07-05 "Linux" "Linux Programmer's Manual"
|
.TH STAT 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
stat, fstat, lstat \- get file status
|
stat, fstat, lstat \- get file status
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -59,7 +59,7 @@ Feature Test Macro Requirements for glibc (see
|
||||||
.in
|
.in
|
||||||
.sp
|
.sp
|
||||||
.BR lstat ():
|
.BR lstat ():
|
||||||
_BSD_SOURCE || _XOPEN_SOURCE >= 500
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.PP
|
.PP
|
||||||
These functions return information about a file.
|
These functions return information about a file.
|
||||||
|
|
21
man2/stime.2
21
man2/stime.2
|
@ -27,15 +27,21 @@
|
||||||
.\" Modified 2001-03-16 by Andries Brouwer <aeb@cwi.nl>
|
.\" Modified 2001-03-16 by Andries Brouwer <aeb@cwi.nl>
|
||||||
.\" Modified 2004-05-27 by Michael Kerrisk <mtk-manpages@gmx.net>
|
.\" Modified 2004-05-27 by Michael Kerrisk <mtk-manpages@gmx.net>
|
||||||
.\"
|
.\"
|
||||||
.TH STIME 2 2004-05-27 "Linux" "Linux Programmer's Manual"
|
.TH STIME 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
stime \- set time
|
stime \- set time
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.BR "#define _SVID_SOURCE" " /* glibc2 needs this */"
|
|
||||||
.br
|
|
||||||
.B #include <time.h>
|
.B #include <time.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int stime(time_t *" t );
|
.BI "int stime(time_t *" t );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR stime ():
|
||||||
|
_SVID_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR stime ()
|
.BR stime ()
|
||||||
sets the system's idea of the time and date.
|
sets the system's idea of the time and date.
|
||||||
|
@ -60,14 +66,7 @@ Under Linux the
|
||||||
privilege is required.
|
privilege is required.
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
SVr4.
|
SVr4.
|
||||||
.SH NOTES
|
|
||||||
Under glibc2,
|
|
||||||
.I <time.h>
|
|
||||||
only provides a prototype when
|
|
||||||
.B _SVID_SOURCE
|
|
||||||
is defined.
|
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR date (1),
|
.BR date (1),
|
||||||
.BR settimeofday (2),
|
.BR settimeofday (2),
|
||||||
.BR capabilities (7),
|
.BR capabilities (7)
|
||||||
.BR feature_test_macros (7)
|
|
||||||
|
|
|
@ -29,13 +29,23 @@
|
||||||
.\" Modified 1997-01-31 by Eric S. Raymond <esr@thyrsus.com>
|
.\" Modified 1997-01-31 by Eric S. Raymond <esr@thyrsus.com>
|
||||||
.\" Modified 2004-06-23 by Michael Kerrisk <mtk-manpages@gmx.net>
|
.\" Modified 2004-06-23 by Michael Kerrisk <mtk-manpages@gmx.net>
|
||||||
.\"
|
.\"
|
||||||
.TH SYMLINK 2 2004-06-23 "Linux" "Linux Programmer's Manual"
|
.TH SYMLINK 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
symlink \- make a new name for a file
|
symlink \- make a new name for a file
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int symlink(const char *" oldpath ", const char *" newpath );
|
.BI "int symlink(const char *" oldpath ", const char *" newpath );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR symlink ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _POSIX_C_SOURCE\ >=\ 200112L
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR symlink ()
|
.BR symlink ()
|
||||||
creates a symbolic link named
|
creates a symbolic link named
|
||||||
|
|
10
man2/sync.2
10
man2/sync.2
|
@ -31,13 +31,21 @@
|
||||||
.\" Modified Tue Oct 22 22:27:07 1996 by Eric S. Raymond <esr@thyrsus.com>
|
.\" Modified Tue Oct 22 22:27:07 1996 by Eric S. Raymond <esr@thyrsus.com>
|
||||||
.\" Modified 2001-10-10 by aeb, following Michael Kerrisk.
|
.\" Modified 2001-10-10 by aeb, following Michael Kerrisk.
|
||||||
.\"
|
.\"
|
||||||
.TH SYNC 2 2001-10-10 "Linux" "Linux Programmer's Manual"
|
.TH SYNC 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
sync \- commit buffer cache to disk
|
sync \- commit buffer cache to disk
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.sp
|
.sp
|
||||||
.B void sync(void);
|
.B void sync(void);
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR sync ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR sync ()
|
.BR sync ()
|
||||||
first commits inodes to buffers, and then buffers to disk.
|
first commits inodes to buffers, and then buffers to disk.
|
||||||
|
|
|
@ -35,14 +35,14 @@
|
||||||
.\" 2002-03-20 Christoph Hellwig <hch@infradead.org>
|
.\" 2002-03-20 Christoph Hellwig <hch@infradead.org>
|
||||||
.\" - adopted for Linux
|
.\" - adopted for Linux
|
||||||
.\"
|
.\"
|
||||||
.TH SYSCALL 2 2007-06-01 "Linux" "Linux Programmer's Manual"
|
.TH SYSCALL 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
syscall \- indirect system call
|
syscall \- indirect system call
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B "#define _BSD_SOURCE /* or _GNU_SOURCE or _SVID_SOURCE */"
|
.BR "#define _GNU_SOURCE " " /* or _BSD_SOURCE or _SVID_SOURCE */"
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.B "#include <sys/syscall.h> /* For SYS_xxx definitions */"
|
.BR "#include <sys/syscall.h> " "/* For SYS_xxx definitions */"
|
||||||
|
|
||||||
.BI "int syscall(int " number ", ...);"
|
.BI "int syscall(int " number ", ...);"
|
||||||
.fi
|
.fi
|
||||||
|
@ -65,7 +65,6 @@ and an error code is stored in
|
||||||
first appeared in
|
first appeared in
|
||||||
4BSD.
|
4BSD.
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
|
|
||||||
.nf
|
.nf
|
||||||
#define _GNU_SOURCE
|
#define _GNU_SOURCE
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
|
@ -80,4 +79,4 @@ main(int argc, char *argv[])
|
||||||
}
|
}
|
||||||
.fi
|
.fi
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.BT syscalls (2)
|
.BR syscalls (2)
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
.\" Modified 2002-04-06 by Andries Brouwer <aeb@cwi.nl>
|
.\" Modified 2002-04-06 by Andries Brouwer <aeb@cwi.nl>
|
||||||
.\" Modified 2004-06-23 by Michael Kerrisk <mtk-manpages@gmx.net>
|
.\" Modified 2004-06-23 by Michael Kerrisk <mtk-manpages@gmx.net>
|
||||||
.\"
|
.\"
|
||||||
.TH TRUNCATE 2 2004-06-23 "Linux" "Linux Programmer's Manual"
|
.TH TRUNCATE 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
truncate, ftruncate \- truncate a file to a specified length
|
truncate, ftruncate \- truncate a file to a specified length
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -49,6 +49,16 @@ truncate, ftruncate \- truncate a file to a specified length
|
||||||
.BI "int truncate(const char *" path ", off_t " length );
|
.BI "int truncate(const char *" path ", off_t " length );
|
||||||
.br
|
.br
|
||||||
.BI "int ftruncate(int " fd ", off_t " length );
|
.BI "int ftruncate(int " fd ", off_t " length );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.ad l
|
||||||
|
.sp
|
||||||
|
.BR getdtablesize ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _POSIX_C_SOURCE\ >=\ 200112L
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR truncate ()
|
.BR truncate ()
|
||||||
|
|
|
@ -17,11 +17,14 @@
|
||||||
.\" FIXME Document CLONE_NEWIPC, which is new in 2.6.18
|
.\" FIXME Document CLONE_NEWIPC, which is new in 2.6.18
|
||||||
.\" FIXME Document CLONE_NEWUTS, which is new in 2.6.19
|
.\" FIXME Document CLONE_NEWUTS, which is new in 2.6.19
|
||||||
.\"
|
.\"
|
||||||
.TH UNSHARE 2 2005-03-10 "Linux" "Linux Programmer's Manual"
|
.TH UNSHARE 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
unshare \- disassociate parts of the process execution context
|
unshare \- disassociate parts of the process execution context
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
|
.B #define _GNU_SOURCE
|
||||||
|
.\" Actually _BSD_SOURCE || _SVID_SOURCE
|
||||||
|
.\" See http://sources.redhat.com/bugzilla/show_bug.cgi?id=4749
|
||||||
.B #include <sched.h>
|
.B #include <sched.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int unshare(int " flags );
|
.BI "int unshare(int " flags );
|
||||||
|
|
10
man2/vfork.2
10
man2/vfork.2
|
@ -23,7 +23,7 @@
|
||||||
.\" 1999-11-10: Merged text taken from the page contributed by
|
.\" 1999-11-10: Merged text taken from the page contributed by
|
||||||
.\" Reed H. Petty (rhp@draper.net)
|
.\" Reed H. Petty (rhp@draper.net)
|
||||||
.\"
|
.\"
|
||||||
.TH VFORK 2 1999-11-01 "Linux" "Linux Programmer's Manual"
|
.TH VFORK 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
vfork \- create a child process and block parent
|
vfork \- create a child process and block parent
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -32,6 +32,14 @@ vfork \- create a child process and block parent
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.sp
|
.sp
|
||||||
.B pid_t vfork(void);
|
.B pid_t vfork(void);
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR vfork ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.SS "Standard Description"
|
.SS "Standard Description"
|
||||||
(From SUSv2 / POSIX draft.)
|
(From SUSv2 / POSIX draft.)
|
||||||
|
|
|
@ -24,13 +24,23 @@
|
||||||
.\" Modified, 27 May 2004, Michael Kerrisk <mtk-manpages@gmx.net>
|
.\" Modified, 27 May 2004, Michael Kerrisk <mtk-manpages@gmx.net>
|
||||||
.\" Added notes on capability requirements
|
.\" Added notes on capability requirements
|
||||||
.\"
|
.\"
|
||||||
.TH VHANGUP 2 2004-05-27 "Linux" "Linux Programmer's Manual"
|
.TH VHANGUP 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
vhangup \- virtually hangup the current tty
|
vhangup \- virtually hangup the current tty
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.sp
|
.sp
|
||||||
.B int vhangup(void);
|
.B int vhangup(void);
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR vhangup ():
|
||||||
|
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR vhangup ()
|
.BR vhangup ()
|
||||||
simulates a hangup on the current terminal.
|
simulates a hangup on the current terminal.
|
||||||
|
|
10
man2/wait.2
10
man2/wait.2
|
@ -46,7 +46,7 @@
|
||||||
.\" Much other text rewritten
|
.\" Much other text rewritten
|
||||||
.\" 2005-05-10, mtk, __W* flags can't be used with waitid()
|
.\" 2005-05-10, mtk, __W* flags can't be used with waitid()
|
||||||
.\"
|
.\"
|
||||||
.TH WAIT 2 2004-11-11 "Linux" "Linux Programmer's Manual"
|
.TH WAIT 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
wait, waitpid, waitid \- wait for process to change state
|
wait, waitpid, waitid \- wait for process to change state
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -60,6 +60,14 @@ wait, waitpid, waitid \- wait for process to change state
|
||||||
.br
|
.br
|
||||||
.BI "int waitid(idtype_t " idtype ", id_t " id \
|
.BI "int waitid(idtype_t " idtype ", id_t " id \
|
||||||
", siginfo_t *" infop ", int " options );
|
", siginfo_t *" infop ", int " options );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR waitid ():
|
||||||
|
_SVID_SOURCE || _XOPEN_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
All of these system calls are used to wait for state changes
|
All of these system calls are used to wait for state changes
|
||||||
in a child of the calling process, and obtain information
|
in a child of the calling process, and obtain information
|
||||||
|
|
16
man2/wait4.2
16
man2/wait4.2
|
@ -31,13 +31,11 @@
|
||||||
.\" Rewrote much of this page, and removed much duplicated text,
|
.\" Rewrote much of this page, and removed much duplicated text,
|
||||||
.\" replacing with pointers to wait.2
|
.\" replacing with pointers to wait.2
|
||||||
.\"
|
.\"
|
||||||
.TH WAIT4 2 2004-11-11 "Linux" "Linux Programmer's Manual"
|
.TH WAIT4 2 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
wait3, wait4 \- wait for process to change state, BSD style
|
wait3, wait4 \- wait for process to change state, BSD style
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #define _BSD_SOURCE
|
|
||||||
/* Or #define _XOPEN_SOURCE 500 for wait3() */
|
|
||||||
.B #include <sys/types.h>
|
.B #include <sys/types.h>
|
||||||
.B #include <sys/time.h>
|
.B #include <sys/time.h>
|
||||||
.B #include <sys/resource.h>
|
.B #include <sys/resource.h>
|
||||||
|
@ -49,6 +47,17 @@ wait3, wait4 \- wait for process to change state, BSD style
|
||||||
.BI "pid_t wait4(pid_t " pid ", int *" status ", int " options ,
|
.BI "pid_t wait4(pid_t " pid ", int *" status ", int " options ,
|
||||||
.BI " struct rusage *" rusage );
|
.BI " struct rusage *" rusage );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR wait3 ():
|
||||||
|
_BSD_SOURCE
|
||||||
|
.br
|
||||||
|
.BR wait4 ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR wait3 ()
|
.BR wait3 ()
|
||||||
|
@ -134,5 +143,4 @@ defined in
|
||||||
.BR sigaction (2),
|
.BR sigaction (2),
|
||||||
.BR signal (2),
|
.BR signal (2),
|
||||||
.BR wait (2),
|
.BR wait (2),
|
||||||
.BR feature_test_macros (7),
|
|
||||||
.BR signal (7)
|
.BR signal (7)
|
||||||
|
|
|
@ -20,12 +20,12 @@
|
||||||
.\" 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 INFINITY 3 2004-10-31 "" "Linux Programmer's Manual"
|
.TH INFINITY 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL \- floating point constants
|
INFINITY, NAN, HUGE_VAL, HUGE_VALF, HUGE_VALL \- floating point constants
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
#define _ISOC99_SOURCE
|
.BR #define _ISOC99_SOURCE
|
||||||
.br
|
.br
|
||||||
.B #include <math.h>
|
.B #include <math.h>
|
||||||
.sp
|
.sp
|
||||||
|
|
11
man3/a64l.3
11
man3/a64l.3
|
@ -3,7 +3,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" Corrected, aeb, 2002-05-30
|
.\" Corrected, aeb, 2002-05-30
|
||||||
.\"
|
.\"
|
||||||
.TH A64L 3 2002-02-15 "" "Linux Programmer's Manual"
|
.TH A64L 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
a64l, l64a \- convert between long and base-64
|
a64l, l64a \- convert between long and base-64
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -12,6 +12,15 @@ a64l, l64a \- convert between long and base-64
|
||||||
.BI "long a64l(char *" str64 );
|
.BI "long a64l(char *" str64 );
|
||||||
.sp
|
.sp
|
||||||
.BI "char *l64a(long " value );
|
.BI "char *l64a(long " value );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR a64l (),
|
||||||
|
.BR l64a ():
|
||||||
|
_SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
These functions provide a conversion between 32-bit long integers
|
These functions provide a conversion between 32-bit long integers
|
||||||
and little-endian base-64 ASCII strings (of length zero to six).
|
and little-endian base-64 ASCII strings (of length zero to six).
|
||||||
|
|
11
man3/abs.3
11
man3/abs.3
|
@ -29,7 +29,7 @@
|
||||||
.\" Modified Sat Jul 24 21:45:37 1993, Rik Faith (faith@cs.unc.edu)
|
.\" Modified Sat Jul 24 21:45:37 1993, Rik Faith (faith@cs.unc.edu)
|
||||||
.\" Modified Sat Dec 16 15:02:59 2000, Joseph S. Myers
|
.\" Modified Sat Dec 16 15:02:59 2000, Joseph S. Myers
|
||||||
.\"
|
.\"
|
||||||
.TH ABS 3 2000-12-17 "GNU" "Linux Programmer's Manual"
|
.TH ABS 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
abs, labs, llabs, imaxabs \- compute the absolute value of an integer
|
abs, labs, llabs, imaxabs \- compute the absolute value of an integer
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -46,6 +46,15 @@ abs, labs, llabs, imaxabs \- compute the absolute value of an integer
|
||||||
.sp
|
.sp
|
||||||
.BI "intmax_t imaxabs(intmax_t " j );
|
.BI "intmax_t imaxabs(intmax_t " j );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR llabs ():
|
||||||
|
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||||
|
.I cc\ -std=c99
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR abs ()
|
.BR abs ()
|
||||||
|
|
15
man3/acosh.3
15
man3/acosh.3
|
@ -28,7 +28,7 @@
|
||||||
.\" Modified 2002-07-25 by Walter Harms
|
.\" Modified 2002-07-25 by Walter Harms
|
||||||
.\" (walter.harms@informatik.uni-oldenburg.de)
|
.\" (walter.harms@informatik.uni-oldenburg.de)
|
||||||
.\"
|
.\"
|
||||||
.TH ACOSH 3 2002-07-25 "" "Linux Programmer's Manual"
|
.TH ACOSH 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
acosh, acoshf, acoshl \- inverse hyperbolic cosine function
|
acosh, acoshf, acoshl \- inverse hyperbolic cosine function
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -43,6 +43,19 @@ acosh, acoshf, acoshl \- inverse hyperbolic cosine function
|
||||||
.sp
|
.sp
|
||||||
.fi
|
.fi
|
||||||
Link with \fI-lm\fP.
|
Link with \fI-lm\fP.
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR acosh (),
|
||||||
|
.BR acoshf (),
|
||||||
|
.BR acoshl ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE; or
|
||||||
|
.I cc\ -std=c99
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR acosh ()
|
.BR acosh ()
|
||||||
|
|
|
@ -3,18 +3,24 @@
|
||||||
.\" adapted glibc info page
|
.\" adapted glibc info page
|
||||||
.\"
|
.\"
|
||||||
.\" polished a little, aeb
|
.\" polished a little, aeb
|
||||||
.TH ADDSEVERITY 3 2002-08-07 "GNU" "Linux Programmer's Manual"
|
.TH ADDSEVERITY 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
addseverity \- introduce new severity classes
|
addseverity \- introduce new severity classes
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.sp
|
.sp
|
||||||
.B #define _SVID_SOURCE
|
|
||||||
.br
|
|
||||||
.B #include <fmtmsg.h>
|
.B #include <fmtmsg.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int addseverity(int " severity ", const char *" s );
|
.BI "int addseverity(int " severity ", const char *" s );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR addseverity ():
|
||||||
|
_SVID_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function allows the introduction of new severity classes
|
This function allows the introduction of new severity classes
|
||||||
which can be addressed by the
|
which can be addressed by the
|
||||||
|
@ -56,5 +62,4 @@ systems.
|
||||||
New severity classes can also be added by setting the environment variable
|
New severity classes can also be added by setting the environment variable
|
||||||
.BR SEV_LEVEL .
|
.BR SEV_LEVEL .
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR fmtmsg (3),
|
.BR fmtmsg (3)
|
||||||
.BR feature_test_macros (7)
|
|
||||||
|
|
|
@ -17,15 +17,21 @@
|
||||||
.\" 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 ADJTIME 3 2006-05-01 "Linux" "Linux Programmer's Manual"
|
.TH ADJTIME 3 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
adjtime \- correct the time to synchronize the system clock
|
adjtime \- correct the time to synchronize the system clock
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #define _BSD_SOURCE
|
|
||||||
.sp
|
|
||||||
.BI "int adjtime(const struct timeval *" delta ", struct timeval *" olddelta );
|
.BI "int adjtime(const struct timeval *" delta ", struct timeval *" olddelta );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR adjtime ():
|
||||||
|
_BSD_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR adjtime ()
|
.BR adjtime ()
|
||||||
|
@ -128,5 +134,4 @@ This is the result of a kernel limitation.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR adjtimex (2),
|
.BR adjtimex (2),
|
||||||
.BR gettimeofday (2),
|
.BR gettimeofday (2),
|
||||||
.BR feature_test_macros (7),
|
|
||||||
.BR time (7)
|
.BR time (7)
|
||||||
|
|
15
man3/asinh.3
15
man3/asinh.3
|
@ -28,7 +28,7 @@
|
||||||
.\" Modified 2002-07-27 by Walter Harms
|
.\" Modified 2002-07-27 by Walter Harms
|
||||||
.\" (walter.harms@informatik.uni-oldenburg.de)
|
.\" (walter.harms@informatik.uni-oldenburg.de)
|
||||||
.\"
|
.\"
|
||||||
.TH ASINH 3 2002-07-27 "GNU" "Linux Programmer's Manual"
|
.TH ASINH 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
asinh, asinhf, asinhl \- inverse hyperbolic sine function
|
asinh, asinhf, asinhl \- inverse hyperbolic sine function
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -43,6 +43,19 @@ asinh, asinhf, asinhl \- inverse hyperbolic sine function
|
||||||
.fi
|
.fi
|
||||||
.sp
|
.sp
|
||||||
Link with \fI-lm\fP.
|
Link with \fI-lm\fP.
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR asinh (),
|
||||||
|
.BR asinhf (),
|
||||||
|
.BR asinhl ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE; or
|
||||||
|
.I cc\ -std=c99
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR asinh ()
|
.BR asinh ()
|
||||||
|
|
15
man3/atanh.3
15
man3/atanh.3
|
@ -28,7 +28,7 @@
|
||||||
.\" Modified 2002-07-27 by Walter Harms
|
.\" Modified 2002-07-27 by Walter Harms
|
||||||
.\" (walter.harms@informatik.uni-oldenburg.de)
|
.\" (walter.harms@informatik.uni-oldenburg.de)
|
||||||
.\"
|
.\"
|
||||||
.TH ATANH 3 2002-07-27 "" "Linux Programmer's Manual"
|
.TH ATANH 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
atanh, atanhf, atanhl \- inverse hyperbolic tangent function
|
atanh, atanhf, atanhl \- inverse hyperbolic tangent function
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -43,6 +43,19 @@ atanh, atanhf, atanhl \- inverse hyperbolic tangent function
|
||||||
.sp
|
.sp
|
||||||
.fi
|
.fi
|
||||||
Link with \fI-lm\fP.
|
Link with \fI-lm\fP.
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR atanh (),
|
||||||
|
.BR atanhf (),
|
||||||
|
.BR atanhl ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE; or
|
||||||
|
.I cc\ -std=c99
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR atanh ()
|
.BR atanh ()
|
||||||
|
|
13
man3/atoi.3
13
man3/atoi.3
|
@ -28,7 +28,7 @@
|
||||||
.\" Modified Sat Jul 24 21:38:42 1993, Rik Faith (faith@cs.unc.edu)
|
.\" Modified Sat Jul 24 21:38:42 1993, Rik Faith (faith@cs.unc.edu)
|
||||||
.\" Modified Sun Dec 17 18:35:06 2000, Joseph S. Myers
|
.\" Modified Sun Dec 17 18:35:06 2000, Joseph S. Myers
|
||||||
.\"
|
.\"
|
||||||
.TH ATOI 3 2000-12-17 "GNU" "Linux Programmer's Manual"
|
.TH ATOI 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
atoi, atol, atoll, atoq \- convert a string to an integer
|
atoi, atol, atoll, atoq \- convert a string to an integer
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -43,6 +43,17 @@ atoi, atol, atoll, atoq \- convert a string to an integer
|
||||||
.br
|
.br
|
||||||
.BI "long long atoq(const char *" nptr );
|
.BI "long long atoq(const char *" nptr );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR atoll ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||||
|
.I cc\ -std=c99
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR atoi ()
|
.BR atoi ()
|
||||||
|
|
15
man3/cbrt.3
15
man3/cbrt.3
|
@ -25,7 +25,7 @@
|
||||||
.\" Modified 2002-07-27 Walter Harms
|
.\" Modified 2002-07-27 Walter Harms
|
||||||
.\" (walter.harms@informatik.uni-oldenburg.de)
|
.\" (walter.harms@informatik.uni-oldenburg.de)
|
||||||
.\"
|
.\"
|
||||||
.TH CBRT 3 2002-07-27 "GNU" "Linux Programmer's Manual"
|
.TH CBRT 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
cbrt, cbrtf, cbrtl \- cube root function
|
cbrt, cbrtf, cbrtl \- cube root function
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -40,6 +40,19 @@ cbrt, cbrtf, cbrtl \- cube root function
|
||||||
.fi
|
.fi
|
||||||
.sp
|
.sp
|
||||||
Link with \fI-lm\fP.
|
Link with \fI-lm\fP.
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR cbrt (),
|
||||||
|
.BR cbrtf (),
|
||||||
|
.BR cbrtl ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE; or
|
||||||
|
.I cc\ -std=c99
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR cbrt ()
|
.BR cbrt ()
|
||||||
|
|
10
man3/cfree.3
10
man3/cfree.3
|
@ -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 CFREE 3 2003-11-18 "" "Linux Programmer's Manual"
|
.TH CFREE 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
cfree \- free allocated memory
|
cfree \- free allocated memory
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -40,6 +40,14 @@ cfree \- free allocated memory
|
||||||
/* In Solaris watchmalloc.so.1 */
|
/* In Solaris watchmalloc.so.1 */
|
||||||
.BI "void cfree(void *" ptr ", size_t " nelem ", size_t " elsize );
|
.BI "void cfree(void *" ptr ", size_t " nelem ", size_t " elsize );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR cfree ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function should never be used.
|
This function should never be used.
|
||||||
Use
|
Use
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
.\" the source, must acknowledge the copyright and authors of this work.
|
.\" the source, must acknowledge the copyright and authors of this work.
|
||||||
.\"
|
.\"
|
||||||
.\" Additions, aeb, 2001-10-17.
|
.\" Additions, aeb, 2001-10-17.
|
||||||
.TH CLEARENV 3 2001-10-17 "Linux" "Linux Programmer's Manual"
|
.TH CLEARENV 3 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
clearenv \- clear the environment
|
clearenv \- clear the environment
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -30,6 +30,14 @@ clearenv \- clear the environment
|
||||||
.sp
|
.sp
|
||||||
.BI "int clearenv(void);"
|
.BI "int clearenv(void);"
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR clearenv ():
|
||||||
|
_SVID_SOURCE || _XOPEN_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR clearenv ()
|
.BR clearenv ()
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
.\" 2003-08-24 aeb, large parts rewritten
|
.\" 2003-08-24 aeb, large parts rewritten
|
||||||
.\" 2004-08-06 Christoph Lameter <clameter@sgi.com>, SMP note
|
.\" 2004-08-06 Christoph Lameter <clameter@sgi.com>, SMP note
|
||||||
.\"
|
.\"
|
||||||
.TH CLOCK_GETRES 3 2003-08-24 "" "Linux Programmer's Manual"
|
.TH CLOCK_GETRES 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
clock_getres, clock_gettime, clock_settime \- clock and time functions
|
clock_getres, clock_gettime, clock_settime \- clock and time functions
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -38,6 +38,18 @@ clock_getres, clock_gettime, clock_settime \- clock and time functions
|
||||||
.BI "int clock_gettime(clockid_t " clk_id ", struct timespec *" tp );
|
.BI "int clock_gettime(clockid_t " clk_id ", struct timespec *" tp );
|
||||||
.br
|
.br
|
||||||
.BI "int clock_settime(clockid_t " clk_id ", const struct timespec *" tp );
|
.BI "int clock_settime(clockid_t " clk_id ", const struct timespec *" tp );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR clock_getres (),
|
||||||
|
.BR clock_gettime (),
|
||||||
|
.BR clock_settime ():
|
||||||
|
_POSIX_C_SOURCE\ >=\ 199309L
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The function
|
The function
|
||||||
.BR clock_getres ()
|
.BR clock_getres ()
|
||||||
|
@ -76,10 +88,8 @@ structs, as specified in
|
||||||
.sp
|
.sp
|
||||||
.nf
|
.nf
|
||||||
struct timespec {
|
struct timespec {
|
||||||
.in +8
|
time_t tv_sec; /* seconds */
|
||||||
time_t tv_sec; /* seconds */
|
long tv_nsec; /* nanoseconds */
|
||||||
long tv_nsec; /* nanoseconds */
|
|
||||||
.in -8
|
|
||||||
};
|
};
|
||||||
.fi
|
.fi
|
||||||
.PP
|
.PP
|
||||||
|
|
|
@ -26,19 +26,23 @@
|
||||||
.\" See <bits/confname.h> for the rest.
|
.\" See <bits/confname.h> for the rest.
|
||||||
.\" These should all be added to this page.
|
.\" These should all be added to this page.
|
||||||
.\" See also the POSIX.1-2001 specification of confstr()
|
.\" See also the POSIX.1-2001 specification of confstr()
|
||||||
.TH CONFSTR 3 1993-04-17 "GNU" "Linux Programmer's Manual"
|
.TH CONFSTR 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
confstr \- get configuration dependent string variables
|
confstr \- get configuration dependent string variables
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #define _POSIX_C_SOURCE 2
|
|
||||||
or
|
|
||||||
.B #define _XOPEN_SOURCE
|
|
||||||
.br
|
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "size_t confstr(int " "name" ", char *" buf ", size_t " len );
|
.BI "size_t confstr(int " "name" ", char *" buf ", size_t " len );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR getcwd ():
|
||||||
|
_POSIX_C_SOURCE\ >=\ 2 || _XOPEN_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR confstr ()
|
.BR confstr ()
|
||||||
gets the value of configuration-dependent string variables.
|
gets the value of configuration-dependent string variables.
|
||||||
|
@ -138,5 +142,4 @@ confstr(_CS_PATH, pathbuf, n);
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR sh (1),
|
.BR sh (1),
|
||||||
.BR exec (3),
|
.BR exec (3),
|
||||||
.BR system (3),
|
.BR system (3)
|
||||||
.BR feature_test_macros (7)
|
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
.\" 386BSD man pages
|
.\" 386BSD man pages
|
||||||
.\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
|
.\" Modified 1993-07-24 by Rik Faith (faith@cs.unc.edu)
|
||||||
.\" Modified 2002-08-10 by Walter Harms (walter.harms@informatik.uni-oldenburg.de)
|
.\" Modified 2002-08-10 by Walter Harms (walter.harms@informatik.uni-oldenburg.de)
|
||||||
.TH COPYSIGN 3 2007-03-31 "GNU" "Linux Programmer's Manual"
|
.TH COPYSIGN 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
copysign, copysignf, copysignl \- copy sign of a number
|
copysign, copysignf, copysignl \- copy sign of a number
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -41,6 +41,19 @@ copysign, copysignf, copysignl \- copy sign of a number
|
||||||
.fi
|
.fi
|
||||||
.sp
|
.sp
|
||||||
Link with \fI-lm\fP.
|
Link with \fI-lm\fP.
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR copysign (),
|
||||||
|
.BR copysignf (),
|
||||||
|
.BR copysignl ():
|
||||||
|
_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||||
|
.I cc\ -std=c99
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR copysign ()
|
.BR copysign ()
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
.\" the source, must acknowledge the copyright and authors of this work.
|
.\" the source, must acknowledge the copyright and authors of this work.
|
||||||
.\" License.
|
.\" License.
|
||||||
.\" Modified Sat Jul 24 19:51:06 1993 by Rik Faith (faith@cs.unc.edu)
|
.\" Modified Sat Jul 24 19:51:06 1993 by Rik Faith (faith@cs.unc.edu)
|
||||||
.TH CTERMID 3 1993-04-06 "GNU" "Linux Programmer's Manual"
|
.TH CTERMID 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
ctermid \- get controlling terminal name
|
ctermid \- get controlling terminal name
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -30,6 +30,15 @@ ctermid \- get controlling terminal name
|
||||||
.sp
|
.sp
|
||||||
.BI "char *ctermid(char *" "s" );
|
.BI "char *ctermid(char *" "s" );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR ctermid ():
|
||||||
|
_POSIX_C_SOURCE || _XOPEN_SOURCE
|
||||||
|
.\" From <unistd.h>: _XOPEN_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR ctermid ()
|
.BR ctermid ()
|
||||||
returns a string which is the pathname for the current
|
returns a string which is the pathname for the current
|
||||||
|
|
14
man3/ctime.3
14
man3/ctime.3
|
@ -30,7 +30,7 @@
|
||||||
.\" Modified 2001-12-13, joey, aeb
|
.\" Modified 2001-12-13, joey, aeb
|
||||||
.\" Modified 2004-11-16, mtk
|
.\" Modified 2004-11-16, mtk
|
||||||
.\"
|
.\"
|
||||||
.TH CTIME 3 2004-11-16 "" "Linux Programmer's Manual"
|
.TH CTIME 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
asctime, ctime, gmtime, localtime, mktime, asctime_r, ctime_r, gmtime_r,
|
asctime, ctime, gmtime, localtime, mktime, asctime_r, ctime_r, gmtime_r,
|
||||||
localtime_r \- transform date and time to broken-down time or ASCII
|
localtime_r \- transform date and time to broken-down time or ASCII
|
||||||
|
@ -56,6 +56,18 @@ localtime_r \- transform date and time to broken-down time or ASCII
|
||||||
.sp
|
.sp
|
||||||
.BI "time_t mktime(struct tm *" tm );
|
.BI "time_t mktime(struct tm *" tm );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR asctime_r (),
|
||||||
|
.BR ctime_r (),
|
||||||
|
.BR gmtime_r (),
|
||||||
|
.BR localtime_r ():
|
||||||
|
.br
|
||||||
|
_POSIX_C_SOURCE || _XOPEN_SOURCE || _BSD_SOURCE || _SVID_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR ctime (),
|
.BR ctime (),
|
||||||
|
|
|
@ -31,13 +31,21 @@
|
||||||
.\"
|
.\"
|
||||||
.\" @(#)daemon.3 8.1 (Berkeley) 6/9/93
|
.\" @(#)daemon.3 8.1 (Berkeley) 6/9/93
|
||||||
.\" Added mentioning of glibc weirdness wrt unistd.h. 5/11/98, Al Viro
|
.\" Added mentioning of glibc weirdness wrt unistd.h. 5/11/98, Al Viro
|
||||||
.TH DAEMON 3 1993-06-09 "GNU" "Linux Programmer's Manual"
|
.TH DAEMON 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
daemon \- run in the background
|
daemon \- run in the background
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int daemon(int " nochdir ", int " noclose );
|
.BI "int daemon(int " nochdir ", int " noclose );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR daemon ():
|
||||||
|
_BSD_SOURCE || (_XOPEN_SOURCE && _XOPEN_SOURCE\ <\ 500)
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR daemon ()
|
.BR daemon ()
|
||||||
|
|
10
man3/dirfd.3
10
man3/dirfd.3
|
@ -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 DIRFD 3 2002-01-05 "Linux" "Linux Programmer's Manual"
|
.TH DIRFD 3 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
dirfd \- get directory stream file descriptor
|
dirfd \- get directory stream file descriptor
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -29,6 +29,14 @@ dirfd \- get directory stream file descriptor
|
||||||
.B #include <dirent.h>
|
.B #include <dirent.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int dirfd(DIR *" dir );
|
.BI "int dirfd(DIR *" dir );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR dirfd ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The function
|
The function
|
||||||
.BR dirfd ()
|
.BR dirfd ()
|
||||||
|
|
11
man3/div.3
11
man3/div.3
|
@ -29,7 +29,7 @@
|
||||||
.\" Modified 1993-07-24, Rik Faith (faith@cs.unc.edu)
|
.\" Modified 1993-07-24, Rik Faith (faith@cs.unc.edu)
|
||||||
.\" Modified 2002-08-10, 2003-11-01 Walter Harms, aeb
|
.\" Modified 2002-08-10, 2003-11-01 Walter Harms, aeb
|
||||||
.\"
|
.\"
|
||||||
.TH DIV 3 2003-11-01 "" "Linux Programmer's Manual"
|
.TH DIV 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
div, ldiv, lldiv, imaxdiv \- compute quotient and remainder of
|
div, ldiv, lldiv, imaxdiv \- compute quotient and remainder of
|
||||||
an integer division
|
an integer division
|
||||||
|
@ -47,6 +47,15 @@ an integer division
|
||||||
.sp
|
.sp
|
||||||
.BI "imaxdiv_t imaxdiv(intmax_t " numerator ", intmax_t " denominator );
|
.BI "imaxdiv_t imaxdiv(intmax_t " numerator ", intmax_t " denominator );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR lldiv ():
|
||||||
|
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||||
|
.I cc\ -std=c99
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR div ()
|
.BR div ()
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
|
.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
|
||||||
.\" 386BSD man pages
|
.\" 386BSD man pages
|
||||||
.\" Modified Sat Jul 24 19:46:03 1993 by Rik Faith (faith@cs.unc.edu)
|
.\" Modified Sat Jul 24 19:46:03 1993 by Rik Faith (faith@cs.unc.edu)
|
||||||
.TH DRAND48 3 1993-07-02 "" "Linux Programmer's Manual"
|
.TH DRAND48 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48,
|
drand48, erand48, lrand48, nrand48, mrand48, jrand48, srand48, seed48,
|
||||||
lcong48 \- generate uniformly distributed pseudo-random numbers
|
lcong48 \- generate uniformly distributed pseudo-random numbers
|
||||||
|
@ -51,6 +51,25 @@ lcong48 \- generate uniformly distributed pseudo-random numbers
|
||||||
.sp
|
.sp
|
||||||
.BI "void lcong48(unsigned short " param [7]);
|
.BI "void lcong48(unsigned short " param [7]);
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
All functions described on this page:
|
||||||
|
.\" .BR drand48 (),
|
||||||
|
.\" .BR erand48 (),
|
||||||
|
.\" .BR lrand48 (),
|
||||||
|
.\" .BR nrand48 (),
|
||||||
|
.\" .BR mrand48 (),
|
||||||
|
.\" .BR jrand48 (),
|
||||||
|
.\" .BR srand48 (),
|
||||||
|
.\" .BR seed48 (),
|
||||||
|
.\" .BR lcong48 ():
|
||||||
|
_SVID_SOURCE || _XOPEN_SOURCE
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
These functions generate pseudo-random numbers using the linear congruential
|
These functions generate pseudo-random numbers using the linear congruential
|
||||||
algorithm and 48-bit integer arithmetic.
|
algorithm and 48-bit integer arithmetic.
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" Created 2004-10-31. Text taken from a page by Walter Harms, 2003-09-08
|
.\" Created 2004-10-31. Text taken from a page by Walter Harms, 2003-09-08
|
||||||
.\"
|
.\"
|
||||||
.TH DRAND48_R 3 2004-10-31 "GNU" "Linux Programmer's Manual"
|
.TH DRAND48_R 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
drand48_r, erand48_r, lrand48_r, nrand48_r, mrand48_r, jrand48_r,
|
drand48_r, erand48_r, lrand48_r, nrand48_r, mrand48_r, jrand48_r,
|
||||||
srand48_r, seed48_r, lcong48_r
|
srand48_r, seed48_r, lcong48_r
|
||||||
|
@ -59,6 +59,25 @@ srand48_r, seed48_r, lcong48_r
|
||||||
.br
|
.br
|
||||||
.BI " struct drand48_data *" buffer ");"
|
.BI " struct drand48_data *" buffer ");"
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
All functions described on this page:
|
||||||
|
.\" .BR drand48_r (),
|
||||||
|
.\" .BR erand48_r (),
|
||||||
|
.\" .BR lrand48_r (),
|
||||||
|
.\" .BR nrand48_r (),
|
||||||
|
.\" .BR mrand48_r (),
|
||||||
|
.\" .BR jrand48_r (),
|
||||||
|
.\" .BR srand48_r (),
|
||||||
|
.\" .BR seed48_r (),
|
||||||
|
.\" .BR lcong48_r ():
|
||||||
|
_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
These functions are the reentrant analogs of the functions described in
|
These functions are the reentrant analogs of the functions described in
|
||||||
.BR drand48 (3).
|
.BR drand48 (3).
|
||||||
|
|
|
@ -21,16 +21,21 @@
|
||||||
.\" the source, must acknowledge the copyright and authors of this work.
|
.\" the source, must acknowledge the copyright and authors of this work.
|
||||||
.\"
|
.\"
|
||||||
.\" aeb: some corrections
|
.\" aeb: some corrections
|
||||||
.TH DYSIZE 3 2001-11-12 "GNU" "Linux Programmer's Manual"
|
.TH DYSIZE 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
dysize \- get number of days for a given year
|
dysize \- get number of days for a given year
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.sp
|
|
||||||
.BR "#define _BSD_SOURCE" " /* or: #define _SVID_SOURCE */"
|
|
||||||
.br
|
|
||||||
.BR "#include <time.h>"
|
.BR "#include <time.h>"
|
||||||
.sp
|
.sp
|
||||||
.BI "int dysize(int " year );
|
.BI "int dysize(int " year );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR dysize ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The function returns 365 for a normal year and 366 for a leap year.
|
The function returns 365 for a normal year and 366 for a leap year.
|
||||||
The calculation for leap year is based on:
|
The calculation for leap year is based on:
|
||||||
|
@ -48,5 +53,4 @@ This is a compatibility function only.
|
||||||
Don't use it in new programs.
|
Don't use it in new programs.
|
||||||
The SCO version of this function had a year-2000 problem.
|
The SCO version of this function had a year-2000 problem.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR strftime (3),
|
.BR strftime (3)
|
||||||
.BR feature_test_macros (7)
|
|
||||||
|
|
11
man3/ecvt.3
11
man3/ecvt.3
|
@ -27,7 +27,7 @@
|
||||||
.\" Modified Sat Jul 24 19:40:39 1993 by Rik Faith (faith@cs.unc.edu)
|
.\" Modified Sat Jul 24 19:40:39 1993 by Rik Faith (faith@cs.unc.edu)
|
||||||
.\" Modified Fri Jun 25 12:10:47 1999 by Andries Brouwer (aeb@cwi.nl)
|
.\" Modified Fri Jun 25 12:10:47 1999 by Andries Brouwer (aeb@cwi.nl)
|
||||||
.\"
|
.\"
|
||||||
.TH ECVT 3 1999-06-25 "" "Linux Programmer's Manual"
|
.TH ECVT 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
ecvt, fcvt \- convert a floating-point number to a string
|
ecvt, fcvt \- convert a floating-point number to a string
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -38,6 +38,15 @@ ecvt, fcvt \- convert a floating-point number to a string
|
||||||
.sp
|
.sp
|
||||||
.BI "char *fcvt(double " number ", int " ndigits ", int *" decpt ,
|
.BI "char *fcvt(double " number ", int " ndigits ", int *" decpt ,
|
||||||
.BI "int *" sign );
|
.BI "int *" sign );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR ecvt (),
|
||||||
|
.BR fcvt ():
|
||||||
|
_SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR ecvt ()
|
.BR ecvt ()
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" Corrected return types; from Fabian; 2004-10-05
|
.\" Corrected return types; from Fabian; 2004-10-05
|
||||||
.\"
|
.\"
|
||||||
.TH ECVT_R 3 2004-10-05 "GNU" "Linux Programmer's Manual"
|
.TH ECVT_R 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
ecvt_r, fcvt_r, qecvt_r, qfcvt_r \- convert a floating-point number to a string
|
ecvt_r, fcvt_r, qecvt_r, qfcvt_r \- convert a floating-point number to a string
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -44,6 +44,18 @@ ecvt_r, fcvt_r, qecvt_r, qfcvt_r \- convert a floating-point number to a string
|
||||||
.BI "int qfcvt_r(long double " number ", int " ndigits ", int *" decpt ,
|
.BI "int qfcvt_r(long double " number ", int " ndigits ", int *" decpt ,
|
||||||
.BI " int *" sign ", char *" buf ", size_t " len );
|
.BI " int *" sign ", char *" buf ", size_t " len );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR ecvt_r (),
|
||||||
|
.BR fcvt_r (),
|
||||||
|
.BR qecvt_r (),
|
||||||
|
.BR qfcvt_r ():
|
||||||
|
.br
|
||||||
|
_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The functions
|
The functions
|
||||||
.BR ecvt_r (),
|
.BR ecvt_r (),
|
||||||
|
|
19
man3/erf.3
19
man3/erf.3
|
@ -28,7 +28,7 @@
|
||||||
.\" Modified 2002-07-27 by Walter Harms
|
.\" Modified 2002-07-27 by Walter Harms
|
||||||
.\" (walter.harms@informatik.uni-oldenburg.de)
|
.\" (walter.harms@informatik.uni-oldenburg.de)
|
||||||
.\"
|
.\"
|
||||||
.TH ERF 3 2002-07-27 "GNU" "Linux Programmer's Manual"
|
.TH ERF 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
erf, erff, erfl, erfc, erfcf, erfcl \- error function and
|
erf, erff, erfl, erfc, erfcf, erfcl \- error function and
|
||||||
complementary error function
|
complementary error function
|
||||||
|
@ -50,6 +50,23 @@ complementary error function
|
||||||
.sp
|
.sp
|
||||||
.fi
|
.fi
|
||||||
Link with \fI-lm\fP.
|
Link with \fI-lm\fP.
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
All functions described on this page:
|
||||||
|
.\" .BR erf (),
|
||||||
|
.\" .BR erff (),
|
||||||
|
.\" .BR erfl (),
|
||||||
|
.\" .BR erfc (),
|
||||||
|
.\" .BR erfcf (),
|
||||||
|
.\" .BR erfcl ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE || _ISOC99_SOURCE; or
|
||||||
|
.I cc\ -std=c99
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR erf ()
|
.BR erf ()
|
||||||
|
|
|
@ -23,11 +23,12 @@
|
||||||
.\" the source, must acknowledge the copyright and authors of this work.
|
.\" the source, must acknowledge the copyright and authors of this work.
|
||||||
.\"
|
.\"
|
||||||
.\"
|
.\"
|
||||||
.TH EUIDACCESS 3 2007-05-18 "" "Linux Programmer's Manual"
|
.TH EUIDACCESS 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
euidaccess, eaccess \- check effective user's permissions for a file
|
euidaccess, eaccess \- check effective user's permissions for a file
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
|
.B #define _GNU_SOURCE
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int euidaccess(const char *" pathname ", int " mode );
|
.BI "int euidaccess(const char *" pathname ", int " mode );
|
||||||
|
|
17
man3/exp2.3
17
man3/exp2.3
|
@ -29,7 +29,7 @@
|
||||||
.\" Modified 2002-07-27 by Walter Harms
|
.\" Modified 2002-07-27 by Walter Harms
|
||||||
.\" (walter.harms@informatik.uni-oldenburg.de)
|
.\" (walter.harms@informatik.uni-oldenburg.de)
|
||||||
.\"
|
.\"
|
||||||
.TH EXP2 3 2002-07-27 "" "Linux Programmer's Manual"
|
.TH EXP2 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
exp2, exp2f, exp2l \- base-2 exponential function
|
exp2, exp2f, exp2l \- base-2 exponential function
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -43,7 +43,20 @@ exp2, exp2f, exp2l \- base-2 exponential function
|
||||||
.BI "long double exp2l(long double " x );
|
.BI "long double exp2l(long double " x );
|
||||||
.fi
|
.fi
|
||||||
.sp
|
.sp
|
||||||
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
|
Link with \fI\-lm\fP.
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR exp2 (),
|
||||||
|
.BR exp2f (),
|
||||||
|
.BR exp2l ():
|
||||||
|
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||||
|
.I cc\ -std=c99
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR exp2 ()
|
.BR exp2 ()
|
||||||
|
|
15
man3/expm1.3
15
man3/expm1.3
|
@ -23,7 +23,7 @@
|
||||||
.\" Modified 2002-07-27 Walter Harms
|
.\" Modified 2002-07-27 Walter Harms
|
||||||
.\" (walter.harms@informatik.uni-oldenburg.de)
|
.\" (walter.harms@informatik.uni-oldenburg.de)
|
||||||
.\"
|
.\"
|
||||||
.TH EXPM1 3 2002-07-27 "" "Linux Programmer's Manual"
|
.TH EXPM1 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
expm1, expm1f, expm1l \- exponential minus 1
|
expm1, expm1f, expm1l \- exponential minus 1
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -38,6 +38,19 @@ expm1, expm1f, expm1l \- exponential minus 1
|
||||||
.sp
|
.sp
|
||||||
.fi
|
.fi
|
||||||
Link with \fI-lm\fP.
|
Link with \fI-lm\fP.
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR expm1 (),
|
||||||
|
.BR expm1f (),
|
||||||
|
.BR expm1l ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE; or
|
||||||
|
.I cc\ -std=c99
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BI expm1( x )
|
.BI expm1( x )
|
||||||
returns a value equivalent to `exp (\fIx\fP) \- 1'.
|
returns a value equivalent to `exp (\fIx\fP) \- 1'.
|
||||||
|
|
|
@ -39,7 +39,7 @@
|
||||||
.\" Converted for Linux, Mon Nov 29 14:24:40 1993, faith@cs.unc.edu
|
.\" Converted for Linux, Mon Nov 29 14:24:40 1993, faith@cs.unc.edu
|
||||||
.\" Added remark on EBADF for fileno, aeb, 2001-03-22
|
.\" Added remark on EBADF for fileno, aeb, 2001-03-22
|
||||||
.\"
|
.\"
|
||||||
.TH FERROR 3 2001-10-16 "" "Linux Programmer's Manual"
|
.TH FERROR 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
clearerr, feof, ferror, fileno \- check and reset stream status
|
clearerr, feof, ferror, fileno \- check and reset stream status
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -52,6 +52,14 @@ clearerr, feof, ferror, fileno \- check and reset stream status
|
||||||
.BI "int ferror(FILE *" stream );
|
.BI "int ferror(FILE *" stream );
|
||||||
.br
|
.br
|
||||||
.BI "int fileno(FILE *" stream );
|
.BI "int fileno(FILE *" stream );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR fileno ():
|
||||||
|
_POSIX_C_SOURCE || _XOPEN_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The function
|
The function
|
||||||
.BR clearerr ()
|
.BR clearerr ()
|
||||||
|
|
|
@ -22,13 +22,14 @@
|
||||||
.\" 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 FEXECVE 3 2006-03-06 "Linux" "Linux Programmer's Manual"
|
.TH FEXECVE 3 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fexecve \- execute program specified via file descriptor
|
fexecve \- execute program specified via file descriptor
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <sys/time.h>
|
.B #include <sys/time.h>
|
||||||
.sp
|
.sp
|
||||||
|
.B #define _GNU_SOURCE
|
||||||
.BI "int fexecve(int " fd ", char *const " argv "[], char *const " envp []);
|
.BI "int fexecve(int " fd ", char *const " argv "[], char *const " envp []);
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
|
.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
|
||||||
.\" 386BSD man pages
|
.\" 386BSD man pages
|
||||||
.\" Modified Sat Jul 24 19:38:44 1993 by Rik Faith (faith@cs.unc.edu)
|
.\" Modified Sat Jul 24 19:38:44 1993 by Rik Faith (faith@cs.unc.edu)
|
||||||
.TH FGETGRENT 3 1993-04-04 "GNU" "Linux Programmer's Manual"
|
.TH FGETGRENT 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fgetgrent \- get group file entry
|
fgetgrent \- get group file entry
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -36,6 +36,14 @@ fgetgrent \- get group file entry
|
||||||
.sp
|
.sp
|
||||||
.BI "struct group *fgetgrent(FILE *" stream );
|
.BI "struct group *fgetgrent(FILE *" stream );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR fgetgrent ():
|
||||||
|
_SVID_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR fgetgrent ()
|
.BR fgetgrent ()
|
||||||
|
@ -49,14 +57,12 @@ The \fIgroup\fP structure is defined in \fI<grp.h>\fP as follows:
|
||||||
.sp
|
.sp
|
||||||
.RS
|
.RS
|
||||||
.nf
|
.nf
|
||||||
.ta 8n 16n 32n
|
|
||||||
struct group {
|
struct group {
|
||||||
char *gr_name; /* group name */
|
char *gr_name; /* group name */
|
||||||
char *gr_passwd; /* group password */
|
char *gr_passwd; /* group password */
|
||||||
gid_t gr_gid; /* group ID */
|
gid_t gr_gid; /* group ID */
|
||||||
char **gr_mem; /* group members */
|
char **gr_mem; /* group members */
|
||||||
};
|
};
|
||||||
.ta
|
|
||||||
.fi
|
.fi
|
||||||
.RE
|
.RE
|
||||||
.SH "RETURN VALUE"
|
.SH "RETURN VALUE"
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
.\" Modified Sat Jul 24 19:37:37 1993 by Rik Faith (faith@cs.unc.edu)
|
.\" Modified Sat Jul 24 19:37:37 1993 by Rik Faith (faith@cs.unc.edu)
|
||||||
.\" Modified Mon May 27 22:40:48 1996 by Martin Schulze (joey@linux.de)
|
.\" Modified Mon May 27 22:40:48 1996 by Martin Schulze (joey@linux.de)
|
||||||
.\"
|
.\"
|
||||||
.TH FGETPWENT 3 1996-05-17 "GNU" "Linux Programmer's Manual"
|
.TH FGETPWENT 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fgetpwent \- get password file entry
|
fgetpwent \- get password file entry
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -39,6 +39,14 @@ fgetpwent \- get password file entry
|
||||||
.sp
|
.sp
|
||||||
.BI "struct passwd *fgetpwent(FILE *" stream );
|
.BI "struct passwd *fgetpwent(FILE *" stream );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR fgetpwent ():
|
||||||
|
_SVID_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR fgetpwent ()
|
.BR fgetpwent ()
|
||||||
|
|
|
@ -20,14 +20,12 @@
|
||||||
.\" 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 FINITE 3 2004-10-31 "" "Linux Programmer's Manual"
|
.TH FINITE 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
finite, finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl \-
|
finite, finitef, finitel, isinf, isinff, isinfl, isnan, isnanf, isnanl \-
|
||||||
BSD floating point classification functions
|
BSD floating point classification functions
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
#define _BSD_SOURCE
|
|
||||||
.br
|
|
||||||
.B #include <math.h>
|
.B #include <math.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int finite(double " x );
|
.BI "int finite(double " x );
|
||||||
|
@ -48,6 +46,28 @@ BSD floating point classification functions
|
||||||
.br
|
.br
|
||||||
.BI "int isnanl(long double " x );
|
.BI "int isnanl(long double " x );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR finite (),
|
||||||
|
.BR finitef (),
|
||||||
|
.BR finitel ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE
|
||||||
|
.br
|
||||||
|
.BR isinf (),
|
||||||
|
.BR isinff (),
|
||||||
|
.BR isinfl ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE
|
||||||
|
.br
|
||||||
|
.BR isnan (),
|
||||||
|
.BR isnanf (),
|
||||||
|
.BR isnanl ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR finite ()
|
.BR finite ()
|
||||||
|
@ -72,24 +92,10 @@ See
|
||||||
.BR fpclassify (3).
|
.BR fpclassify (3).
|
||||||
.\"
|
.\"
|
||||||
.\" finite* not on HP-UX; they exist on Tru64.
|
.\" finite* not on HP-UX; they exist on Tru64.
|
||||||
|
|
||||||
On a glibc system, these functions are declared by
|
|
||||||
.I <math.h>
|
|
||||||
when
|
|
||||||
.B _BSD_SOURCE
|
|
||||||
or
|
|
||||||
.B _SVID_SOURCE
|
|
||||||
or
|
|
||||||
.B _GNU_SOURCE
|
|
||||||
is defined.
|
|
||||||
The isnan() functions will also be declared when
|
|
||||||
.B _XOPEN_SOURCE
|
|
||||||
is defined.
|
|
||||||
.\" .SH HISTORY
|
.\" .SH HISTORY
|
||||||
.\" The
|
.\" The
|
||||||
.\" .BR finite ()
|
.\" .BR finite ()
|
||||||
.\" function occurs in 4.3BSD.
|
.\" function occurs in 4.3BSD.
|
||||||
.\" see IEEE.3 in the 4.3BSD manual
|
.\" see IEEE.3 in the 4.3BSD manual
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR fpclassify (3),
|
.BR fpclassify (3)
|
||||||
.BR feature_test_macros (7)
|
|
||||||
|
|
|
@ -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 LOCKFILE 3 2001-10-18 "" "Linux Programmer's Manual"
|
.TH LOCKFILE 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
flockfile, ftrylockfile, funlockfile \- lock FILE for stdio
|
flockfile, ftrylockfile, funlockfile \- lock FILE for stdio
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -33,6 +33,16 @@ flockfile, ftrylockfile, funlockfile \- lock FILE for stdio
|
||||||
.br
|
.br
|
||||||
.BI "void funlockfile(FILE *" filehandle );
|
.BI "void funlockfile(FILE *" filehandle );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.ad l
|
||||||
|
.sp
|
||||||
|
All of the functions described on this page:
|
||||||
|
_POSIX_C_SOURCE || _XOPEN_SOURCE || _BSD_SOURCE || _SVID_SOURCE
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The stdio functions are thread-safe.
|
The stdio functions are thread-safe.
|
||||||
This is achieved by assigning
|
This is achieved by assigning
|
||||||
|
|
10
man3/fopen.3
10
man3/fopen.3
|
@ -39,7 +39,7 @@
|
||||||
.\" Modified, aeb, 960421, 970806
|
.\" Modified, aeb, 960421, 970806
|
||||||
.\" Modified, joey, aeb, 2002-01-03
|
.\" Modified, joey, aeb, 2002-01-03
|
||||||
.\"
|
.\"
|
||||||
.TH FOPEN 3 2006-05-04 "GNU" "Linux Programmer's Manual"
|
.TH FOPEN 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fopen, fdopen, freopen \- stream open functions
|
fopen, fdopen, freopen \- stream open functions
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -50,6 +50,14 @@ fopen, fdopen, freopen \- stream open functions
|
||||||
.BI "FILE *fdopen(int " fildes ", const char *" mode );
|
.BI "FILE *fdopen(int " fildes ", const char *" mode );
|
||||||
.br
|
.br
|
||||||
.BI "FILE *freopen(const char *" path ", const char *" mode ", FILE *" stream );
|
.BI "FILE *freopen(const char *" path ", const char *" mode ", FILE *" stream );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR fdopen ():
|
||||||
|
_POSIX_C_SOURCE || _XOPEN_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR fopen ()
|
.BR fopen ()
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
.\" This was done with the help of the glibc manual.
|
.\" This was done with the help of the glibc manual.
|
||||||
.\"
|
.\"
|
||||||
.\" 2004-10-31, aeb, corrected
|
.\" 2004-10-31, aeb, corrected
|
||||||
.TH FPCLASSIFY 3 2004-10-31 "" "Linux Programmer's Manual"
|
.TH FPCLASSIFY 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fpclassify, isfinite, isnormal, isnan, isinf \- floating-point
|
fpclassify, isfinite, isnormal, isnan, isinf \- floating-point
|
||||||
classification macros
|
classification macros
|
||||||
|
@ -22,7 +22,30 @@ classification macros
|
||||||
.BI "int isinf(" x );
|
.BI "int isinf(" x );
|
||||||
.fi
|
.fi
|
||||||
.sp
|
.sp
|
||||||
Compile with \fI\-std=c99\fP; link with \fI\-lm\fP.
|
Link with \fI\-lm\fP.
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.\" I haven't fully grokked the source to determine the FTM requirements;
|
||||||
|
.\" in part, the following has been tested by experiment.
|
||||||
|
.ad l
|
||||||
|
.BR fpclassify (),
|
||||||
|
.BR isfinite (),
|
||||||
|
.BR isnormal ():
|
||||||
|
_XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||||
|
.I cc\ -std=c99
|
||||||
|
.br
|
||||||
|
.BR isnan ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE || _ISOC99_SOURCE; or
|
||||||
|
.I cc\ -std=c99
|
||||||
|
.br
|
||||||
|
.BR isinf ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE\ >=\ 600 || _ISOC99_SOURCE; or
|
||||||
|
.I cc\ -std=c99
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Floating point numbers can have special values, such as
|
Floating point numbers can have special values, such as
|
||||||
infinite or NaN.
|
infinite or NaN.
|
||||||
|
|
|
@ -22,7 +22,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 FUTIMES 3 2006-03-06 "Linux" "Linux Programmer's Manual"
|
.TH FUTIMES 3 2007-07-26 "Linux" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
futimes \- change access and/or modification times of an open file
|
futimes \- change access and/or modification times of an open file
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -31,6 +31,14 @@ futimes \- change access and/or modification times of an open file
|
||||||
.sp
|
.sp
|
||||||
.BI "int futimes(int " fd ", const struct timeval " tv [2]);
|
.BI "int futimes(int " fd ", const struct timeval " tv [2]);
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR futimes ():
|
||||||
|
_BSD_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR futimes ()
|
.BR futimes ()
|
||||||
changes the access and modification times of a file in the same way as
|
changes the access and modification times of a file in the same way as
|
||||||
|
|
11
man3/fwide.3
11
man3/fwide.3
|
@ -11,7 +11,7 @@
|
||||||
.\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
|
.\" OpenGroup's Single Unix specification http://www.UNIX-systems.org/online.html
|
||||||
.\" ISO/IEC 9899:1999
|
.\" ISO/IEC 9899:1999
|
||||||
.\"
|
.\"
|
||||||
.TH FWIDE 3 1999-11-17 "GNU" "Linux Programmer's Manual"
|
.TH FWIDE 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
fwide \- set and determine the orientation of a FILE stream
|
fwide \- set and determine the orientation of a FILE stream
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -20,6 +20,15 @@ fwide \- set and determine the orientation of a FILE stream
|
||||||
.sp
|
.sp
|
||||||
.BI "int fwide(FILE *" stream ", int " mode );
|
.BI "int fwide(FILE *" stream ", int " mode );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR fwide ():
|
||||||
|
_XOPEN_SOURCE\ >=\ 500 || _ISOC99_SOURCE; or
|
||||||
|
.I cc\ -std=c99
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
When \fImode\fP is zero, the
|
When \fImode\fP is zero, the
|
||||||
.BR fwide ()
|
.BR fwide ()
|
||||||
|
|
14
man3/gamma.3
14
man3/gamma.3
|
@ -3,7 +3,7 @@
|
||||||
.\"
|
.\"
|
||||||
.\" Modified 2003-11-18, aeb: historical remarks
|
.\" Modified 2003-11-18, aeb: historical remarks
|
||||||
.\"
|
.\"
|
||||||
.TH GAMMA 3 2002-08-10 "GNU" "Linux Programmer's Manual"
|
.TH GAMMA 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
gamma, gammaf, gammal \- (logarithm of the) gamma function
|
gamma, gammaf, gammal \- (logarithm of the) gamma function
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -16,6 +16,18 @@ gamma, gammaf, gammal \- (logarithm of the) gamma function
|
||||||
.BI "long double gammal(long double " x ");"
|
.BI "long double gammal(long double " x ");"
|
||||||
.sp
|
.sp
|
||||||
Link with \fI-lm\fP.
|
Link with \fI-lm\fP.
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR gamma (),
|
||||||
|
.BR gammaf (),
|
||||||
|
.BR gammal ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
For the definition of the Gamma function, see
|
For the definition of the Gamma function, see
|
||||||
.BR tgamma (3).
|
.BR tgamma (3).
|
||||||
|
|
10
man3/gcvt.3
10
man3/gcvt.3
|
@ -25,7 +25,7 @@
|
||||||
.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
|
.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
|
||||||
.\" 386BSD man pages
|
.\" 386BSD man pages
|
||||||
.\" Modified Sat Jul 24 19:32:25 1993 by Rik Faith (faith@cs.unc.edu)
|
.\" Modified Sat Jul 24 19:32:25 1993 by Rik Faith (faith@cs.unc.edu)
|
||||||
.TH GCVT 3 1993-03-29 "" "Linux Programmer's Manual"
|
.TH GCVT 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
gcvt \- convert a floating-point number to a string
|
gcvt \- convert a floating-point number to a string
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -34,6 +34,14 @@ gcvt \- convert a floating-point number to a string
|
||||||
.sp
|
.sp
|
||||||
.BI "char *gcvt(double " number ", size_t " ndigit ", char *" buf );
|
.BI "char *gcvt(double " number ", size_t " ndigit ", char *" buf );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR gcvt ():
|
||||||
|
_SVID_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR gcvt ()
|
.BR gcvt ()
|
||||||
|
|
|
@ -27,25 +27,30 @@
|
||||||
.\" Modified Mon Dec 11 13:32:51 MET 2000 by aeb
|
.\" Modified Mon Dec 11 13:32:51 MET 2000 by aeb
|
||||||
.\" Modified Thu Apr 22 03:49:15 CEST 2002 by Roger Luethi <rl@hellgate.ch>
|
.\" Modified Thu Apr 22 03:49:15 CEST 2002 by Roger Luethi <rl@hellgate.ch>
|
||||||
.\"
|
.\"
|
||||||
.TH GETCWD 3 2002-04-22 "GNU" "Linux Programmer's Manual"
|
.TH GETCWD 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getcwd, get_current_dir_name, getwd \- Get current working directory
|
getcwd, getwd, get_current_dir_name \- Get current working directory
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B #include <unistd.h>
|
.B #include <unistd.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "char *getcwd(char *" buf ", size_t " size );
|
.BI "char *getcwd(char *" buf ", size_t " size );
|
||||||
.sp
|
.sp
|
||||||
.B "#define _BSD_SOURCE /* Or: #define _XOPEN_SOURCE 500 */"
|
|
||||||
.B #include <unistd.h>
|
|
||||||
.sp
|
|
||||||
.BI "char *getwd(char *" buf );
|
.BI "char *getwd(char *" buf );
|
||||||
.sp
|
.sp
|
||||||
.B #define _GNU_SOURCE
|
|
||||||
.B #include <unistd.h>
|
|
||||||
.sp
|
|
||||||
.B "char *get_current_dir_name(void);"
|
.B "char *get_current_dir_name(void);"
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR getcwd ():
|
||||||
|
_BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
|
.br
|
||||||
|
.BR get_current_dir_name ():
|
||||||
|
_GNU_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR getcwd ()
|
.BR getcwd ()
|
||||||
|
@ -184,5 +189,4 @@ many file descriptors are available, especially on platforms other than Linux.
|
||||||
.BR open (2),
|
.BR open (2),
|
||||||
.BR unlink (2),
|
.BR unlink (2),
|
||||||
.BR free (3),
|
.BR free (3),
|
||||||
.BR malloc (3),
|
.BR malloc (3)
|
||||||
.BR feature_test_macros (7)
|
|
||||||
|
|
|
@ -21,13 +21,11 @@
|
||||||
.\" the source, must acknowledge the copyright and authors of this work.
|
.\" the source, must acknowledge the copyright and authors of this work.
|
||||||
.\"
|
.\"
|
||||||
.\" Modified, 2001-12-26, aeb
|
.\" Modified, 2001-12-26, aeb
|
||||||
.TH GETDATE 3 2001-12-26 "" "Linux Programmer's Manual"
|
.TH GETDATE 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getdate \- convert a string to struct tm
|
getdate \- convert a string to struct tm
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B "#define _XOPEN_SOURCE"
|
.B "#define _XOPEN_SOURCE 500"
|
||||||
.br
|
|
||||||
.B "#define _XOPEN_SOURCE_EXTENDED
|
|
||||||
.br
|
.br
|
||||||
.B "#include <time.h>"
|
.B "#include <time.h>"
|
||||||
.sp
|
.sp
|
||||||
|
|
|
@ -24,18 +24,23 @@
|
||||||
.\" 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 GETDIRENTRIES 3 1993-07-22 "GNU" "Linux Programmer's Manual"
|
.TH GETDIRENTRIES 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getdirentries \- get directory entries in a filesystem independent format
|
getdirentries \- get directory entries in a filesystem independent format
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B #define _BSD_SOURCE
|
|
||||||
or
|
|
||||||
.B #define _SVID_SOURCE
|
|
||||||
.br
|
.br
|
||||||
.B #include <dirent.h>
|
.B #include <dirent.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "ssize_t getdirentries(int " fd ", char *" buf ", size_t " nbytes
|
.BI "ssize_t getdirentries(int " fd ", char *" buf ", size_t " nbytes
|
||||||
.BI ", off_t *" basep );
|
.BI ", off_t *" basep );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR getdirentries ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Read directory entries from the directory specified by
|
Read directory entries from the directory specified by
|
||||||
.I fd
|
.I fd
|
||||||
|
@ -67,5 +72,4 @@ and
|
||||||
instead.
|
instead.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR lseek (2),
|
.BR lseek (2),
|
||||||
.BR open (2),
|
.BR open (2)
|
||||||
.BR feature_test_macros (7)
|
|
||||||
|
|
|
@ -25,7 +25,7 @@
|
||||||
.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
|
.\" Lewine's _POSIX Programmer's Guide_ (O'Reilly & Associates, 1991)
|
||||||
.\" 386BSD man pages
|
.\" 386BSD man pages
|
||||||
.\" Modified Sat Jul 24 19:29:54 1993 by Rik Faith (faith@cs.unc.edu)
|
.\" Modified Sat Jul 24 19:29:54 1993 by Rik Faith (faith@cs.unc.edu)
|
||||||
.TH GETGRENT 3 1993-04-04 "" "Linux Programmer's Manual"
|
.TH GETGRENT 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getgrent, setgrent, endgrent \- get group file entry
|
getgrent, setgrent, endgrent \- get group file entry
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -39,6 +39,18 @@ getgrent, setgrent, endgrent \- get group file entry
|
||||||
.sp
|
.sp
|
||||||
.B void endgrent(void);
|
.B void endgrent(void);
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR getgrent (),
|
||||||
|
.BR setgrent (),
|
||||||
|
.BR endgrent ():
|
||||||
|
_SVID_SOURCE || _BSD_SOURCE || _XOPEN_SOURCE\ >=\ 500
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR getgrent ()
|
.BR getgrent ()
|
||||||
|
|
|
@ -20,13 +20,11 @@
|
||||||
.\" 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 GETGRENT 3 2003-11-15 "GNU" "Linux Programmer's Manual"
|
.TH GETGRENT 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getgrent_r, fgetgrent_r \- get group file entry reentrantly
|
getgrent_r, fgetgrent_r \- get group file entry reentrantly
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B "#define _GNU_SOURCE"
|
|
||||||
.br
|
|
||||||
.B #include <grp.h>
|
.B #include <grp.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int getgrent_r(struct group *" gbuf ", char *" buf ,
|
.BI "int getgrent_r(struct group *" gbuf ", char *" buf ,
|
||||||
|
@ -36,6 +34,19 @@ getgrent_r, fgetgrent_r \- get group file entry reentrantly
|
||||||
.BI "int fgetgrent_r(FILE *" fp ", struct group *" gbuf ", char *" buf ,
|
.BI "int fgetgrent_r(FILE *" fp ", struct group *" gbuf ", char *" buf ,
|
||||||
.br
|
.br
|
||||||
.BI " size_t " buflen ", struct group **" gbufp );
|
.BI " size_t " buflen ", struct group **" gbufp );
|
||||||
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR getgrent_r ():
|
||||||
|
_GNU_SOURCE
|
||||||
|
.\" FIXME . The FTM requirements seem inconsistent here. File a glibc bug?
|
||||||
|
.br
|
||||||
|
.BR fgetgrent_r ():
|
||||||
|
_SVID_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The functions
|
The functions
|
||||||
.BR getgrent_r ()
|
.BR getgrent_r ()
|
||||||
|
@ -173,5 +184,4 @@ main(void)
|
||||||
.BR getgrgid (3),
|
.BR getgrgid (3),
|
||||||
.BR getgrnam (3),
|
.BR getgrnam (3),
|
||||||
.BR putgrent (3),
|
.BR putgrent (3),
|
||||||
.BR group (5),
|
.BR group (5)
|
||||||
.BR feature_test_macros (7)
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
.\" Thanks to glibc info pages
|
.\" Thanks to glibc info pages
|
||||||
.\"
|
.\"
|
||||||
.\" Modified 2003-11-18, aeb: glibc is broken
|
.\" Modified 2003-11-18, aeb: glibc is broken
|
||||||
.TH GETGROUPLIST 3 2003-11-18 "GNU" "Linux Programmer's Manual"
|
.TH GETGROUPLIST 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getgrouplist \- list of groups a user belongs to
|
getgrouplist \- list of groups a user belongs to
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -11,8 +11,16 @@ getgrouplist \- list of groups a user belongs to
|
||||||
.B #include <grp.h>
|
.B #include <grp.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int getgrouplist(const char *" user ", gid_t " group ,
|
.BI "int getgrouplist(const char *" user ", gid_t " group ,
|
||||||
.in 24
|
.br
|
||||||
.BI "gid_t *" groups ", int *" ngroups );
|
.BI " gid_t *" groups ", int *" ngroups );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR getgrouplist ():
|
||||||
|
_BSD_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR getgrouplist ()
|
.BR getgrouplist ()
|
||||||
|
|
|
@ -33,7 +33,7 @@
|
||||||
.\" Modified 2002-08-05, Michael Kerrisk
|
.\" Modified 2002-08-05, Michael Kerrisk
|
||||||
.\" Modified 2004-10-31, Andries Brouwer
|
.\" Modified 2004-10-31, Andries Brouwer
|
||||||
.\"
|
.\"
|
||||||
.TH GETHOSTBYNAME 3 2004-10-31 "" "Linux Programmer's Manual"
|
.TH GETHOSTBYNAME 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent,
|
gethostbyname, gethostbyaddr, sethostent, gethostent, endhostent,
|
||||||
herror, hstrerror \- get network host entry
|
herror, hstrerror \- get network host entry
|
||||||
|
@ -76,6 +76,19 @@ herror, hstrerror \- get network host entry
|
||||||
.BI " struct hostent *" ret ", char *" buf ", size_t " buflen ,
|
.BI " struct hostent *" ret ", char *" buf ", size_t " buflen ,
|
||||||
.BI " struct hostent **" result ", int *" h_errnop );
|
.BI " struct hostent **" result ", int *" h_errnop );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR gethostbyname2 (),
|
||||||
|
.BR gethostent_r (),
|
||||||
|
.BR gethostbyname_r (),
|
||||||
|
.BR gethostbyname2_r ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR gethostbyname ()
|
.BR gethostbyname ()
|
||||||
|
|
|
@ -25,7 +25,7 @@ GNU.\" Hey Emacs! This file is -*- nroff -*- source.
|
||||||
.\" Changed Tue Sep 19 01:49:29 1995, aeb: moved from man2 to man3
|
.\" Changed Tue Sep 19 01:49:29 1995, aeb: moved from man2 to man3
|
||||||
.\" added ref to /etc/utmp, added BUGS section, etc.
|
.\" added ref to /etc/utmp, added BUGS section, etc.
|
||||||
.\" modified 2003 Walter Harms, aeb - added getlogin_r, note on stdin use
|
.\" modified 2003 Walter Harms, aeb - added getlogin_r, note on stdin use
|
||||||
.TH GETLOGIN 3 2003-08-24 "GNU" "Linux Programmer's Manual"
|
.TH GETLOGIN 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getlogin, getlogin_r, cuserid \- get user name
|
getlogin, getlogin_r, cuserid \- get user name
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -38,6 +38,17 @@ getlogin, getlogin_r, cuserid \- get user name
|
||||||
.B #include <stdio.h>
|
.B #include <stdio.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "char *cuserid(char *" string );
|
.BI "char *cuserid(char *" string );
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR getlogin_r ():
|
||||||
|
_REENTRANT || _POSIX_C_SOURCE\ >=\ 199506L
|
||||||
|
.br
|
||||||
|
.BR cuserid ():
|
||||||
|
_XOPEN_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.BR getlogin ()
|
.BR getlogin ()
|
||||||
returns a pointer to a string containing the name of
|
returns a pointer to a string containing the name of
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
.\" Modified Sat Jul 24 21:46:57 1993 by Rik Faith (faith@cs.unc.edu)
|
.\" Modified Sat Jul 24 21:46:57 1993 by Rik Faith (faith@cs.unc.edu)
|
||||||
.\" Modified 961109, 031115, aeb
|
.\" Modified 961109, 031115, aeb
|
||||||
.\"
|
.\"
|
||||||
.TH GETMNTENT 3 2003-11-15 "" "Linux Programmer's Manual"
|
.TH GETMNTENT 3 2007-07-26 "" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getmntent, setmntent, addmntent, endmntent, hasmntopt,
|
getmntent, setmntent, addmntent, endmntent, hasmntopt,
|
||||||
getmntent_r \- get file system descriptor file entry
|
getmntent_r \- get file system descriptor file entry
|
||||||
|
@ -47,12 +47,19 @@ getmntent_r \- get file system descriptor file entry
|
||||||
.BI "char *hasmntopt(const struct mntent *" mnt ", const char *" opt );
|
.BI "char *hasmntopt(const struct mntent *" mnt ", const char *" opt );
|
||||||
.sp
|
.sp
|
||||||
/* GNU extension */
|
/* GNU extension */
|
||||||
.BR "#define _GNU_SOURCE" " /* or _SVID_SOURCE or _BSD_SOURCE */"
|
|
||||||
.B #include <mntent.h>
|
.B #include <mntent.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "struct mntent *getmntent_r(FILE *" fp ", struct mntent *" mntbuf ,
|
.BI "struct mntent *getmntent_r(FILE *" fp ", struct mntent *" mntbuf ,
|
||||||
.BI " char *" buf ", int " buflen );
|
.BI " char *" buf ", int " buflen );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR gemntent_r ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
These routines are used to access the file system description file
|
These routines are used to access the file system description file
|
||||||
\fI/etc/fstab\fP and the mounted file system description file
|
\fI/etc/fstab\fP and the mounted file system description file
|
||||||
|
@ -183,5 +190,4 @@ a wrapper around the system call
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
.BR fopen (3),
|
.BR fopen (3),
|
||||||
.BR fstab (5),
|
.BR fstab (5),
|
||||||
.BR feature_test_macros (7),
|
|
||||||
.BR mount (8)
|
.BR mount (8)
|
||||||
|
|
|
@ -27,11 +27,12 @@
|
||||||
.\" Modified Sat Jul 24 19:23:25 1993 by Rik Faith (faith@cs.unc.edu)
|
.\" Modified Sat Jul 24 19:23:25 1993 by Rik Faith (faith@cs.unc.edu)
|
||||||
.\" Modified Mon May 27 21:37:47 1996 by Martin Schulze (joey@linux.de)
|
.\" Modified Mon May 27 21:37:47 1996 by Martin Schulze (joey@linux.de)
|
||||||
.\"
|
.\"
|
||||||
.TH GETPW 3 1996-05-27 "GNU" "Linux Programmer's Manual"
|
.TH GETPW 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getpw \- Re-construct password line entry
|
getpw \- Re-construct password line entry
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
|
.B #define _GNU_SOURCE
|
||||||
.B #include <sys/types.h>
|
.B #include <sys/types.h>
|
||||||
.B #include <pwd.h>
|
.B #include <pwd.h>
|
||||||
.sp
|
.sp
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
.\" Modified Sat Jul 24 19:22:14 1993 by Rik Faith (faith@cs.unc.edu)
|
.\" Modified Sat Jul 24 19:22:14 1993 by Rik Faith (faith@cs.unc.edu)
|
||||||
.\" Modified Mon May 27 21:37:47 1996 by Martin Schulze (joey@linux.de)
|
.\" Modified Mon May 27 21:37:47 1996 by Martin Schulze (joey@linux.de)
|
||||||
.\"
|
.\"
|
||||||
.TH GETPWENT 3 1996-05-27 "GNU" "Linux Programmer's Manual"
|
.TH GETPWENT 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getpwent, setpwent, endpwent \- get password file entry
|
getpwent, setpwent, endpwent \- get password file entry
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -42,6 +42,18 @@ getpwent, setpwent, endpwent \- get password file entry
|
||||||
.sp
|
.sp
|
||||||
.B void endpwent(void);
|
.B void endpwent(void);
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR getpwent (),
|
||||||
|
.BR setpwent (),
|
||||||
|
.BR endpwent ():
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE || _XOPEN_SOURCE > = 500
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR getpwent ()
|
.BR getpwent ()
|
||||||
|
|
|
@ -20,13 +20,11 @@
|
||||||
.\" 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 GETPWENT_R 3 2003-11-15 "GNU" "Linux Programmer's Manual"
|
.TH GETPWENT_R 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getpwent_r, fgetpwent_r \- get passwd file entry reentrantly
|
getpwent_r, fgetpwent_r \- get passwd file entry reentrantly
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.nf
|
.nf
|
||||||
.B "#define _GNU_SOURCE"
|
|
||||||
.br
|
|
||||||
.B #include <pwd.h>
|
.B #include <pwd.h>
|
||||||
.sp
|
.sp
|
||||||
.BI "int getpwent_r(struct passwd *" pwbuf ", char *" buf ,
|
.BI "int getpwent_r(struct passwd *" pwbuf ", char *" buf ,
|
||||||
|
@ -36,6 +34,18 @@ getpwent_r, fgetpwent_r \- get passwd file entry reentrantly
|
||||||
.BI "int fgetpwent_r(FILE *" fp ", struct passwd *" pwbuf ", char *" buf ,
|
.BI "int fgetpwent_r(FILE *" fp ", struct passwd *" pwbuf ", char *" buf ,
|
||||||
.br
|
.br
|
||||||
.BI " size_t " buflen ", struct passwd **" pwbufp );
|
.BI " size_t " buflen ", struct passwd **" pwbufp );
|
||||||
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.BR getpwent_r (),
|
||||||
|
_BSD_SOURCE || _SVID_SOURCE
|
||||||
|
.br
|
||||||
|
.BR fgetpwent_r ():
|
||||||
|
_SVID_SOURCE
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The functions
|
The functions
|
||||||
.BR getpwent_r ()
|
.BR getpwent_r ()
|
||||||
|
@ -171,5 +181,4 @@ main(void)
|
||||||
.BR getpwnam (3),
|
.BR getpwnam (3),
|
||||||
.BR getpwuid (3),
|
.BR getpwuid (3),
|
||||||
.BR putpwent (3),
|
.BR putpwent (3),
|
||||||
.BR passwd (5),
|
.BR passwd (5)
|
||||||
.BR feature_test_macros (7)
|
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
.\" Modified 1996-05-27 by Martin Schulze (joey@linux.de)
|
.\" Modified 1996-05-27 by Martin Schulze (joey@linux.de)
|
||||||
.\" Modified 2003-11-15 by aeb
|
.\" Modified 2003-11-15 by aeb
|
||||||
.\"
|
.\"
|
||||||
.TH GETPWNAM 3 1996-05-27 "GNU" "Linux Programmer's Manual"
|
.TH GETPWNAM 3 2007-07-26 "GNU" "Linux Programmer's Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
getpwnam, getpwnam_r, getpwuid, getpwuid_r \- get password file entry
|
getpwnam, getpwnam_r, getpwuid, getpwuid_r \- get password file entry
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
@ -49,6 +49,17 @@ getpwnam, getpwnam_r, getpwuid, getpwuid_r \- get password file entry
|
||||||
.br
|
.br
|
||||||
.BI " char *" buf ", size_t " buflen ", struct passwd **" pwbufp );
|
.BI " char *" buf ", size_t " buflen ", struct passwd **" pwbufp );
|
||||||
.fi
|
.fi
|
||||||
|
.sp
|
||||||
|
.in -4n
|
||||||
|
Feature Test Macro Requirements for glibc (see
|
||||||
|
.BR feature_test_macros (7)):
|
||||||
|
.in
|
||||||
|
.sp
|
||||||
|
.ad l
|
||||||
|
.BR getpwnam_r (),
|
||||||
|
.BR getpwuid_r ():
|
||||||
|
_POSIX_C_SOURCE || _XOPEN_SOURCE || _BSD_SOURCE || _SVID_SOURCE
|
||||||
|
.ad b
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
The
|
The
|
||||||
.BR getpwnam ()
|
.BR getpwnam ()
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue