mirror of https://github.com/mkerrisk/man-pages
s/parameter/argument/ when talking about the things given
to a function call, for consistency with majority usage.
This commit is contained in:
parent
be9c618d66
commit
c4bb193f3c
|
@ -57,7 +57,7 @@ Huge pages are locked into memory, and are not swapped.
|
||||||
.LP
|
.LP
|
||||||
The
|
The
|
||||||
.I key
|
.I key
|
||||||
parameter is an identifier.
|
argument is an identifier.
|
||||||
When zero the pages are private, and
|
When zero the pages are private, and
|
||||||
not inherited by children.
|
not inherited by children.
|
||||||
When positive the pages are shared with other applications using the same
|
When positive the pages are shared with other applications using the same
|
||||||
|
@ -66,7 +66,7 @@ and inherited by child processes.
|
||||||
.LP
|
.LP
|
||||||
The
|
The
|
||||||
.I addr
|
.I addr
|
||||||
parameter of
|
argument of
|
||||||
.BR free_hugepages ()
|
.BR free_hugepages ()
|
||||||
tells which page is being freed: it was the return value of a
|
tells which page is being freed: it was the return value of a
|
||||||
call to
|
call to
|
||||||
|
@ -74,19 +74,19 @@ call to
|
||||||
(The memory is first actually freed when all users have released it.)
|
(The memory is first actually freed when all users have released it.)
|
||||||
The
|
The
|
||||||
.I addr
|
.I addr
|
||||||
parameter of
|
argument of
|
||||||
.BR alloc_hugepages ()
|
.BR alloc_hugepages ()
|
||||||
is a hint, that the kernel may or may not follow.
|
is a hint, that the kernel may or may not follow.
|
||||||
Addresses must be properly aligned.
|
Addresses must be properly aligned.
|
||||||
.LP
|
.LP
|
||||||
The
|
The
|
||||||
.I len
|
.I len
|
||||||
parameter is the length of the required segment.
|
argument is the length of the required segment.
|
||||||
It must be a multiple of the huge page size.
|
It must be a multiple of the huge page size.
|
||||||
.LP
|
.LP
|
||||||
The
|
The
|
||||||
.I prot
|
.I prot
|
||||||
parameter specifies the memory protection of the segment.
|
argument specifies the memory protection of the segment.
|
||||||
It is one of
|
It is one of
|
||||||
.BR PROT_READ ,
|
.BR PROT_READ ,
|
||||||
.BR PROT_WRITE ,
|
.BR PROT_WRITE ,
|
||||||
|
@ -94,7 +94,7 @@ It is one of
|
||||||
.LP
|
.LP
|
||||||
The
|
The
|
||||||
.I flag
|
.I flag
|
||||||
parameter is ignored, unless
|
argument is ignored, unless
|
||||||
.I key
|
.I key
|
||||||
is positive.
|
is positive.
|
||||||
In that case, if
|
In that case, if
|
||||||
|
|
|
@ -115,7 +115,7 @@ the
|
||||||
memory allocation package is the
|
memory allocation package is the
|
||||||
portable and comfortable way of allocating memory.
|
portable and comfortable way of allocating memory.
|
||||||
|
|
||||||
Various systems use various types for the parameter of
|
Various systems use various types for the argument of
|
||||||
.BR sbrk ().
|
.BR sbrk ().
|
||||||
Common are \fIint\fP, \fIssize_t\fP, \fIptrdiff_t\fP, \fIintptr_t\fP.
|
Common are \fIint\fP, \fIssize_t\fP, \fIptrdiff_t\fP, \fIintptr_t\fP.
|
||||||
.\" One sees
|
.\" One sees
|
||||||
|
|
|
@ -514,7 +514,7 @@ which is initially empty.
|
||||||
.BR CLONE_SETTLS " (since Linux 2.5.32)"
|
.BR CLONE_SETTLS " (since Linux 2.5.32)"
|
||||||
The
|
The
|
||||||
.I newtls
|
.I newtls
|
||||||
parameter is the new TLS (Thread Local Storage) descriptor.
|
argument is the new TLS (Thread Local Storage) descriptor.
|
||||||
(See
|
(See
|
||||||
.BR set_thread_area (2).)
|
.BR set_thread_area (2).)
|
||||||
.TP
|
.TP
|
||||||
|
@ -569,8 +569,8 @@ In this case, for correct operation, the
|
||||||
.B CLONE_VM
|
.B CLONE_VM
|
||||||
option should not be specified.
|
option should not be specified.
|
||||||
|
|
||||||
Since Linux 2.5.49 the system call has five parameters.
|
Since Linux 2.5.49 the system call has five arguments.
|
||||||
The two new parameters are
|
The two new arguments are
|
||||||
.I parent_tidptr
|
.I parent_tidptr
|
||||||
which points to the location (in parent and child memory) where
|
which points to the location (in parent and child memory) where
|
||||||
the child thread ID will be written in case
|
the child thread ID will be written in case
|
||||||
|
|
|
@ -127,7 +127,7 @@ interface supports all file descriptors that support
|
||||||
.BR poll (2).
|
.BR poll (2).
|
||||||
Valid values for the
|
Valid values for the
|
||||||
.I op
|
.I op
|
||||||
parameter are :
|
argument are :
|
||||||
.RS
|
.RS
|
||||||
.TP
|
.TP
|
||||||
.B EPOLL_CTL_ADD
|
.B EPOLL_CTL_ADD
|
||||||
|
|
|
@ -52,7 +52,7 @@ are returned by
|
||||||
.BR epoll_wait ().
|
.BR epoll_wait ().
|
||||||
The
|
The
|
||||||
.I maxevents
|
.I maxevents
|
||||||
parameter must be greater than zero.
|
argument must be greater than zero.
|
||||||
Specifying a
|
Specifying a
|
||||||
.I timeout
|
.I timeout
|
||||||
of \-1 makes
|
of \-1 makes
|
||||||
|
|
|
@ -39,7 +39,7 @@ flock \- apply or remove an advisory lock on an open file
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
Apply or remove an advisory lock on the open file specified by
|
Apply or remove an advisory lock on the open file specified by
|
||||||
.IR fd .
|
.IR fd .
|
||||||
The parameter
|
The argument
|
||||||
.I operation
|
.I operation
|
||||||
is one of the following:
|
is one of the following:
|
||||||
.RS 4
|
.RS 4
|
||||||
|
|
|
@ -65,7 +65,7 @@ The
|
||||||
argument needs to point to an aligned integer which stores the counter.
|
argument needs to point to an aligned integer which stores the counter.
|
||||||
The operation to execute is passed via the
|
The operation to execute is passed via the
|
||||||
.I op
|
.I op
|
||||||
parameter, along with a value
|
argument, along with a value
|
||||||
.IR val .
|
.IR val .
|
||||||
.PP
|
.PP
|
||||||
Five operations are currently defined:
|
Five operations are currently defined:
|
||||||
|
@ -238,11 +238,11 @@ Invalid operation specified in
|
||||||
.PP
|
.PP
|
||||||
Initial futex support was merged in Linux 2.5.7 but with different semantics
|
Initial futex support was merged in Linux 2.5.7 but with different semantics
|
||||||
from what was described above.
|
from what was described above.
|
||||||
A 4-parameter system call with the semantics
|
A 4-argument system call with the semantics
|
||||||
given here was introduced in Linux 2.5.40.
|
given here was introduced in Linux 2.5.40.
|
||||||
In Linux 2.5.70 one parameter
|
In Linux 2.5.70 one argument
|
||||||
was added.
|
was added.
|
||||||
In Linux 2.6.7 a sixth parameter was added \(em messy, especially
|
In Linux 2.6.7 a sixth argument was added \(em messy, especially
|
||||||
on the s390 architecture.
|
on the s390 architecture.
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
This system call is Linux-specific.
|
This system call is Linux-specific.
|
||||||
|
|
|
@ -54,7 +54,7 @@ referred to by the open file descriptor
|
||||||
.I fd
|
.I fd
|
||||||
into the buffer pointed to by
|
into the buffer pointed to by
|
||||||
.IR dirp .
|
.IR dirp .
|
||||||
The parameter
|
The argument
|
||||||
.I count
|
.I count
|
||||||
is the size of the memory area.
|
is the size of the memory area.
|
||||||
.PP
|
.PP
|
||||||
|
|
|
@ -50,7 +50,7 @@ returns the name of the peer connected to socket
|
||||||
.IR s .
|
.IR s .
|
||||||
The
|
The
|
||||||
.I namelen
|
.I namelen
|
||||||
parameter should be initialized to indicate the amount of space pointed to
|
argument should be initialized to indicate the amount of space pointed to
|
||||||
by
|
by
|
||||||
.IR name .
|
.IR name .
|
||||||
On return it contains the actual size of the name returned (in bytes).
|
On return it contains the actual size of the name returned (in bytes).
|
||||||
|
@ -70,7 +70,7 @@ is not a valid descriptor.
|
||||||
.B EFAULT
|
.B EFAULT
|
||||||
The
|
The
|
||||||
.I name
|
.I name
|
||||||
parameter points to memory not in a valid part of the
|
argument points to memory not in a valid part of the
|
||||||
process address space.
|
process address space.
|
||||||
.TP
|
.TP
|
||||||
.B EINVAL
|
.B EINVAL
|
||||||
|
|
|
@ -51,7 +51,7 @@ returns the current
|
||||||
for the specified socket.
|
for the specified socket.
|
||||||
The
|
The
|
||||||
.I namelen
|
.I namelen
|
||||||
parameter should be initialized to indicate
|
argument should be initialized to indicate
|
||||||
the amount of space pointed to by
|
the amount of space pointed to by
|
||||||
.IR name .
|
.IR name .
|
||||||
On return it contains the actual size of the name
|
On return it contains the actual size of the name
|
||||||
|
@ -71,7 +71,7 @@ is not a valid descriptor.
|
||||||
.B EFAULT
|
.B EFAULT
|
||||||
The
|
The
|
||||||
.I name
|
.I name
|
||||||
parameter points to memory not in a valid part of the
|
argument points to memory not in a valid part of the
|
||||||
process address space.
|
process address space.
|
||||||
.TP
|
.TP
|
||||||
.B EINVAL
|
.B EINVAL
|
||||||
|
|
|
@ -84,7 +84,7 @@ should be set to the protocol number of
|
||||||
see
|
see
|
||||||
.BR getprotoent (3).
|
.BR getprotoent (3).
|
||||||
|
|
||||||
The parameters
|
The arguments
|
||||||
.I optval
|
.I optval
|
||||||
and
|
and
|
||||||
.I optlen
|
.I optlen
|
||||||
|
@ -97,7 +97,7 @@ requested option(s) are to be returned.
|
||||||
For
|
For
|
||||||
.BR getsockopt (),
|
.BR getsockopt (),
|
||||||
.I optlen
|
.I optlen
|
||||||
is a value-result parameter, initially containing the
|
is a value-result argument, initially containing the
|
||||||
size of the buffer pointed to by
|
size of the buffer pointed to by
|
||||||
.IR optval ,
|
.IR optval ,
|
||||||
and modified on return to indicate the actual size of
|
and modified on return to indicate the actual size of
|
||||||
|
@ -118,11 +118,11 @@ entries in section 4 of the manual.
|
||||||
|
|
||||||
Most socket-level options utilize an
|
Most socket-level options utilize an
|
||||||
.I int
|
.I int
|
||||||
parameter for
|
argument for
|
||||||
.IR optval .
|
.IR optval .
|
||||||
For
|
For
|
||||||
.BR setsockopt (),
|
.BR setsockopt (),
|
||||||
the parameter should be non-zero to enable a boolean option, or zero if the
|
the argument should be non-zero to enable a boolean option, or zero if the
|
||||||
option is to be disabled.
|
option is to be disabled.
|
||||||
.PP
|
.PP
|
||||||
For a description of the available socket options see
|
For a description of the available socket options see
|
||||||
|
|
|
@ -91,7 +91,7 @@ and
|
||||||
They use
|
They use
|
||||||
.I sizeof(size)
|
.I sizeof(size)
|
||||||
so that size is a
|
so that size is a
|
||||||
misnomer here: this third parameter is a data type.
|
misnomer here: this third argument is a data type.
|
||||||
.LP
|
.LP
|
||||||
Note that the size bits are very unreliable: in lots of cases
|
Note that the size bits are very unreliable: in lots of cases
|
||||||
they are wrong, either because of buggy macros using
|
they are wrong, either because of buggy macros using
|
||||||
|
|
|
@ -135,7 +135,7 @@ file, and portable applications are probably wise to include it.
|
||||||
|
|
||||||
The behavior of the
|
The behavior of the
|
||||||
.I backlog
|
.I backlog
|
||||||
parameter on TCP sockets changed with Linux 2.2.
|
argument on TCP sockets changed with Linux 2.2.
|
||||||
Now it specifies the queue length for
|
Now it specifies the queue length for
|
||||||
.I completely
|
.I completely
|
||||||
established sockets waiting to be accepted,
|
established sockets waiting to be accepted,
|
||||||
|
|
|
@ -62,7 +62,7 @@ The kernel is free to ignore the advice.
|
||||||
.LP
|
.LP
|
||||||
The advice is indicated in the
|
The advice is indicated in the
|
||||||
.I advice
|
.I advice
|
||||||
parameter which can be
|
argument which can be
|
||||||
.TP
|
.TP
|
||||||
.B MADV_NORMAL
|
.B MADV_NORMAL
|
||||||
No special treatment.
|
No special treatment.
|
||||||
|
|
|
@ -117,7 +117,7 @@ All policy modes except
|
||||||
.B MPOL_DEFAULT
|
.B MPOL_DEFAULT
|
||||||
require the caller to specify via the
|
require the caller to specify via the
|
||||||
.I nodemask
|
.I nodemask
|
||||||
parameter,
|
argument,
|
||||||
the node or nodes to which the mode applies.
|
the node or nodes to which the mode applies.
|
||||||
|
|
||||||
.I nodemask
|
.I nodemask
|
||||||
|
|
|
@ -22,7 +22,7 @@ mkdir \- create a directory
|
||||||
attempts to create a directory named
|
attempts to create a directory named
|
||||||
.IR pathname .
|
.IR pathname .
|
||||||
|
|
||||||
The parameter
|
The argument
|
||||||
.I mode
|
.I mode
|
||||||
specifies the permissions to use.
|
specifies the permissions to use.
|
||||||
It is modified by the process's
|
It is modified by the process's
|
||||||
|
|
|
@ -103,7 +103,7 @@ with any other process,
|
||||||
but sharing may arise via
|
but sharing may arise via
|
||||||
.BR fork (2).
|
.BR fork (2).
|
||||||
.PP
|
.PP
|
||||||
The parameter
|
The argument
|
||||||
.I flags
|
.I flags
|
||||||
must include one of the following
|
must include one of the following
|
||||||
.IR "access modes" :
|
.IR "access modes" :
|
||||||
|
|
|
@ -96,7 +96,7 @@ Glibc support has been provided since version 2.2.
|
||||||
POSIX.1-2001.
|
POSIX.1-2001.
|
||||||
Note that the type of the
|
Note that the type of the
|
||||||
.I len
|
.I len
|
||||||
parameter was changed from
|
argument was changed from
|
||||||
.I size_t
|
.I size_t
|
||||||
to
|
to
|
||||||
.I off_t
|
.I off_t
|
||||||
|
|
|
@ -53,7 +53,7 @@ prctl \- operations on a process
|
||||||
.BR prctl ()
|
.BR prctl ()
|
||||||
is called with a first argument describing what to do
|
is called with a first argument describing what to do
|
||||||
(with values defined in \fI<linux/prctl.h>\fP), and further
|
(with values defined in \fI<linux/prctl.h>\fP), and further
|
||||||
parameters with a significance depending on the first one.
|
arguments with a significance depending on the first one.
|
||||||
The first argument can be:
|
The first argument can be:
|
||||||
.TP
|
.TP
|
||||||
.BR PR_SET_PDEATHSIG " (since Linux 2.1.57)"
|
.BR PR_SET_PDEATHSIG " (since Linux 2.1.57)"
|
||||||
|
|
|
@ -53,7 +53,7 @@ referred to by the file descriptor
|
||||||
.I fd
|
.I fd
|
||||||
into the buffer pointed to by
|
into the buffer pointed to by
|
||||||
.IR dirp .
|
.IR dirp .
|
||||||
The parameter
|
The argument
|
||||||
.I count
|
.I count
|
||||||
is ignored; at most one
|
is ignored; at most one
|
||||||
.I dirent
|
.I dirent
|
||||||
|
|
|
@ -153,7 +153,7 @@ permitted maximum.
|
||||||
and
|
and
|
||||||
.BR writev ()
|
.BR writev ()
|
||||||
functions first appeared in 4.2BSD), POSIX.1-2001.
|
functions first appeared in 4.2BSD), POSIX.1-2001.
|
||||||
Linux libc5 used \fIsize_t\fP as the type of the \fIiovcnt\fP parameter,
|
Linux libc5 used \fIsize_t\fP as the type of the \fIiovcnt\fP argument,
|
||||||
and \fIint\fP as return type for these functions.
|
and \fIint\fP as return type for these functions.
|
||||||
.\" The readv/writev system calls were buggy before Linux 1.3.40.
|
.\" The readv/writev system calls were buggy before Linux 1.3.40.
|
||||||
.\" (Says release.libc.)
|
.\" (Says release.libc.)
|
||||||
|
|
|
@ -76,7 +76,7 @@ this source address is filled in.
|
||||||
.\" Kernel 2.4.18. (MTK, 22 Jul 02)]
|
.\" Kernel 2.4.18. (MTK, 22 Jul 02)]
|
||||||
The argument
|
The argument
|
||||||
.I fromlen
|
.I fromlen
|
||||||
is a value-result parameter, initialized to the size of the buffer
|
is a value-result argument, initialized to the size of the buffer
|
||||||
associated with
|
associated with
|
||||||
.IR from ,
|
.IR from ,
|
||||||
and modified on return to indicate the actual size of the address stored
|
and modified on return to indicate the actual size of the address stored
|
||||||
|
@ -92,7 +92,7 @@ and is identical to
|
||||||
.BR recvfrom ()
|
.BR recvfrom ()
|
||||||
with a NULL
|
with a NULL
|
||||||
.I from
|
.I from
|
||||||
parameter.
|
argument.
|
||||||
.PP
|
.PP
|
||||||
All three routines return the length of the message on successful
|
All three routines return the length of the message on successful
|
||||||
completion.
|
completion.
|
||||||
|
@ -269,7 +269,7 @@ The
|
||||||
.BR recvmsg ()
|
.BR recvmsg ()
|
||||||
call uses a
|
call uses a
|
||||||
.I msghdr
|
.I msghdr
|
||||||
structure to minimize the number of directly supplied parameters.
|
structure to minimize the number of directly supplied arguments.
|
||||||
This structure has the following form, as defined in
|
This structure has the following form, as defined in
|
||||||
.IR <sys/socket.h> :
|
.IR <sys/socket.h> :
|
||||||
.in +4n
|
.in +4n
|
||||||
|
|
|
@ -97,7 +97,7 @@ is set appropriately.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
.TP
|
.TP
|
||||||
.B EINVAL
|
.B EINVAL
|
||||||
The parameter \fIpolicy\fP does not identify a defined scheduling policy.
|
The argument \fIpolicy\fP does not identify a defined scheduling policy.
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
POSIX.1-2001.
|
POSIX.1-2001.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
|
|
|
@ -52,7 +52,7 @@ for the process identified by \fIpid\fP.
|
||||||
If \fIpid\fP is zero, then
|
If \fIpid\fP is zero, then
|
||||||
the parameters of the calling process are set.
|
the parameters of the calling process are set.
|
||||||
The interpretation of
|
The interpretation of
|
||||||
the parameter \fIparam\fP depends on the scheduling
|
the argument \fIparam\fP depends on the scheduling
|
||||||
policy of the process identified by
|
policy of the process identified by
|
||||||
.IR pid .
|
.IR pid .
|
||||||
See
|
See
|
||||||
|
@ -97,7 +97,7 @@ is set appropriately.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
.TP
|
.TP
|
||||||
.B EINVAL
|
.B EINVAL
|
||||||
The parameter \fIparam\fP does not make sense for the current
|
The argument \fIparam\fP does not make sense for the current
|
||||||
scheduling policy.
|
scheduling policy.
|
||||||
.TP
|
.TP
|
||||||
.B EPERM
|
.B EPERM
|
||||||
|
|
|
@ -289,7 +289,7 @@ time specified by the
|
||||||
.I timespec
|
.I timespec
|
||||||
structure whose address is passed in the
|
structure whose address is passed in the
|
||||||
.I timeout
|
.I timeout
|
||||||
parameter.
|
argument.
|
||||||
If the specified time limit has been reached,
|
If the specified time limit has been reached,
|
||||||
.BR semtimedop ()
|
.BR semtimedop ()
|
||||||
fails with
|
fails with
|
||||||
|
@ -301,7 +301,7 @@ set to
|
||||||
is performed).
|
is performed).
|
||||||
If the
|
If the
|
||||||
.I timeout
|
.I timeout
|
||||||
parameter is NULL,
|
argument is NULL,
|
||||||
then
|
then
|
||||||
.BR semtimedop ()
|
.BR semtimedop ()
|
||||||
behaves exactly like
|
behaves exactly like
|
||||||
|
@ -348,9 +348,9 @@ expired.
|
||||||
.B EFAULT
|
.B EFAULT
|
||||||
An address specified in either the
|
An address specified in either the
|
||||||
.I sops
|
.I sops
|
||||||
or
|
or the
|
||||||
.I timeout
|
.I timeout
|
||||||
parameters isn't accessible.
|
argument isn't accessible.
|
||||||
.TP
|
.TP
|
||||||
.B EFBIG
|
.B EFBIG
|
||||||
For some operation the value of
|
For some operation the value of
|
||||||
|
|
10
man2/send.2
10
man2/send.2
|
@ -74,7 +74,7 @@ is the presence of
|
||||||
.IR flags .
|
.IR flags .
|
||||||
With zero
|
With zero
|
||||||
.I flags
|
.I flags
|
||||||
parameter,
|
argument,
|
||||||
.BR send ()
|
.BR send ()
|
||||||
is equivalent to
|
is equivalent to
|
||||||
.BR write (2).
|
.BR write (2).
|
||||||
|
@ -83,7 +83,7 @@ Also,
|
||||||
is equivalent to
|
is equivalent to
|
||||||
.RI sendto( s , buf , len , flags ,NULL,0).
|
.RI sendto( s , buf , len , flags ,NULL,0).
|
||||||
.PP
|
.PP
|
||||||
The parameter
|
The argument
|
||||||
.I s
|
.I s
|
||||||
is the file descriptor of the sending socket.
|
is the file descriptor of the sending socket.
|
||||||
.PP
|
.PP
|
||||||
|
@ -92,7 +92,7 @@ If
|
||||||
is used on a connection-mode
|
is used on a connection-mode
|
||||||
.RB ( SOCK_STREAM ,
|
.RB ( SOCK_STREAM ,
|
||||||
.BR SOCK_SEQPACKET )
|
.BR SOCK_SEQPACKET )
|
||||||
socket, the parameters
|
socket, the arguments
|
||||||
.I to
|
.I to
|
||||||
and
|
and
|
||||||
.I tolen
|
.I tolen
|
||||||
|
@ -153,7 +153,7 @@ call may be used to determine when it is possible to send more data.
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.I flags
|
.I flags
|
||||||
parameter is the bitwise OR
|
argument is the bitwise OR
|
||||||
of zero or more of the following flags.
|
of zero or more of the following flags.
|
||||||
.\" FIXME ? document MSG_PROXY (which went away in 2.3.15)
|
.\" FIXME ? document MSG_PROXY (which went away in 2.3.15)
|
||||||
.TP
|
.TP
|
||||||
|
@ -296,7 +296,7 @@ Connection reset by peer.
|
||||||
The socket is not connection-mode, and no peer address is set.
|
The socket is not connection-mode, and no peer address is set.
|
||||||
.TP
|
.TP
|
||||||
.B EFAULT
|
.B EFAULT
|
||||||
An invalid user space address was specified for a parameter.
|
An invalid user space address was specified for an argument.
|
||||||
.TP
|
.TP
|
||||||
.B EINTR
|
.B EINTR
|
||||||
A signal occurred before any data was transmitted; see
|
A signal occurred before any data was transmitted; see
|
||||||
|
|
|
@ -83,8 +83,7 @@ All modes except
|
||||||
.B MPOL_DEFAULT
|
.B MPOL_DEFAULT
|
||||||
require the caller to specify via the
|
require the caller to specify via the
|
||||||
.I nodemask
|
.I nodemask
|
||||||
parameter
|
argument one or more nodes.
|
||||||
one or more nodes.
|
|
||||||
|
|
||||||
.I nodemask
|
.I nodemask
|
||||||
points to a bit mask of node IDs that contains up to
|
points to a bit mask of node IDs that contains up to
|
||||||
|
|
|
@ -44,7 +44,7 @@ flag,
|
||||||
.I set_child_tid
|
.I set_child_tid
|
||||||
is set to
|
is set to
|
||||||
.IR child_tidptr ,
|
.IR child_tidptr ,
|
||||||
the fifth parameter of that system call.
|
the fifth argument of that system call.
|
||||||
.LP
|
.LP
|
||||||
When
|
When
|
||||||
.I set_child_tid
|
.I set_child_tid
|
||||||
|
@ -59,7 +59,7 @@ flag,
|
||||||
.I clear_child_tid
|
.I clear_child_tid
|
||||||
is set to
|
is set to
|
||||||
.IR child_tidptr ,
|
.IR child_tidptr ,
|
||||||
the fifth parameter of that system call.
|
the fifth argument of that system call.
|
||||||
.LP
|
.LP
|
||||||
The system call
|
The system call
|
||||||
.BR set_tid_address ()
|
.BR set_tid_address ()
|
||||||
|
|
|
@ -49,7 +49,7 @@ Privileged processes (on Linux, those having the \fBCAP_SETUID\fP capability)
|
||||||
may set the real UID, effective UID, and
|
may set the real UID, effective UID, and
|
||||||
saved set-user-ID to arbitrary values.
|
saved set-user-ID to arbitrary values.
|
||||||
|
|
||||||
If one of the parameters equals \-1, the corresponding value is not changed.
|
If one of the arguments equals \-1, the corresponding value is not changed.
|
||||||
|
|
||||||
Regardless of what changes are made to the real UID, effective UID,
|
Regardless of what changes are made to the real UID, effective UID,
|
||||||
and saved set-user-ID, the file system UID is always set to the same
|
and saved set-user-ID, the file system UID is always set to the same
|
||||||
|
|
|
@ -61,7 +61,7 @@ Always, for a user process.
|
||||||
This function is Linux-specific, and should not be used in programs
|
This function is Linux-specific, and should not be used in programs
|
||||||
intended to be portable, or indeed in any programs at all.
|
intended to be portable, or indeed in any programs at all.
|
||||||
Since Linux 2.1.121, no such function exists anymore.
|
Since Linux 2.1.121, no such function exists anymore.
|
||||||
The calling sequence varied: it has had a single parameter
|
The calling sequence varied: it has had a single argument
|
||||||
.I "void *BIOS"
|
.I "void *BIOS"
|
||||||
and at other times a single parameter
|
and at other times a single argument
|
||||||
.IR "int magic" .
|
.IR "int magic" .
|
||||||
|
|
|
@ -95,7 +95,7 @@ binary data of specified length.
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.I flags
|
.I flags
|
||||||
parameter can be used to refine the semantics of the operation.
|
argument can be used to refine the semantics of the operation.
|
||||||
.B XATTR_CREATE
|
.B XATTR_CREATE
|
||||||
specifies a pure create, which fails if the named
|
specifies a pure create, which fails if the named
|
||||||
attribute exists already.
|
attribute exists already.
|
||||||
|
|
|
@ -226,7 +226,7 @@ This flag is only meaningful when establishing a signal handler.
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.I siginfo_t
|
.I siginfo_t
|
||||||
parameter to
|
argument to
|
||||||
.I sa_sigaction
|
.I sa_sigaction
|
||||||
is a struct with the following elements:
|
is a struct with the following elements:
|
||||||
.sp
|
.sp
|
||||||
|
|
|
@ -53,7 +53,7 @@ creates an endpoint for communication and returns a descriptor.
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.I domain
|
.I domain
|
||||||
parameter specifies a communication domain; this selects the protocol
|
argument specifies a communication domain; this selects the protocol
|
||||||
family which will be used for communication.
|
family which will be used for communication.
|
||||||
These families are defined in
|
These families are defined in
|
||||||
.IR <sys/socket.h> .
|
.IR <sys/socket.h> .
|
||||||
|
|
|
@ -245,7 +245,7 @@ when NFS-exported, and giving it out is a security concern.
|
||||||
.LP
|
.LP
|
||||||
Under some OSes the
|
Under some OSes the
|
||||||
.I fsid
|
.I fsid
|
||||||
can be used as second parameter to the
|
can be used as second argument to the
|
||||||
.BR sysfs ()
|
.BR sysfs ()
|
||||||
system call.
|
system call.
|
||||||
.SH "SEE ALSO"
|
.SH "SEE ALSO"
|
||||||
|
|
|
@ -722,9 +722,9 @@ The
|
||||||
.BR select (2)
|
.BR select (2)
|
||||||
and
|
and
|
||||||
.BR mmap (2)
|
.BR mmap (2)
|
||||||
system calls use five or more parameters,
|
system calls use five or more arguments,
|
||||||
which caused problems the way
|
which caused problems the way
|
||||||
parameter passing on the i386 used to be set up.
|
argument passing on the i386 used to be set up.
|
||||||
Thus, while other architectures have
|
Thus, while other architectures have
|
||||||
.IR sys_select ()
|
.IR sys_select ()
|
||||||
and
|
and
|
||||||
|
@ -738,8 +738,8 @@ on i386 one finds
|
||||||
and
|
and
|
||||||
.IR old_mmap ()
|
.IR old_mmap ()
|
||||||
(routines that use a pointer to a
|
(routines that use a pointer to a
|
||||||
parameter block) instead.
|
argument block) instead.
|
||||||
These days passing five parameters
|
These days passing five arguments
|
||||||
is not a problem any more, and there is a
|
is not a problem any more, and there is a
|
||||||
.I __NR__newselect
|
.I __NR__newselect
|
||||||
.\" (used by libc 6)
|
.\" (used by libc 6)
|
||||||
|
|
|
@ -209,7 +209,7 @@ and \fIerrno\fP is set to indicate the error.
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
.TP
|
.TP
|
||||||
.B EINVAL
|
.B EINVAL
|
||||||
Bad parameters (e.g.,
|
Bad arguments (e.g.,
|
||||||
bad
|
bad
|
||||||
.IR type ;
|
.IR type ;
|
||||||
or for
|
or for
|
||||||
|
|
|
@ -25,7 +25,7 @@ _SVID_SOURCE
|
||||||
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
|
||||||
.I severity
|
.I severity
|
||||||
parameter of the
|
argument of the
|
||||||
.BR fmtmsg (3)
|
.BR fmtmsg (3)
|
||||||
function.
|
function.
|
||||||
By default that latter function only knows how to
|
By default that latter function only knows how to
|
||||||
|
|
|
@ -44,7 +44,7 @@ and
|
||||||
.BR vsprintf (3),
|
.BR vsprintf (3),
|
||||||
except that they allocate a string large enough to hold the output
|
except that they allocate a string large enough to hold the output
|
||||||
including the terminating null byte,
|
including the terminating null byte,
|
||||||
and return a pointer to it via the first parameter.
|
and return a pointer to it via the first argument.
|
||||||
This pointer should be passed to
|
This pointer should be passed to
|
||||||
.BR free (3)
|
.BR free (3)
|
||||||
to release the allocated storage when it is no longer needed.
|
to release the allocated storage when it is no longer needed.
|
||||||
|
|
|
@ -56,7 +56,7 @@ This function is deprecated (marked as LEGACY in POSIX.1-2001): use
|
||||||
or
|
or
|
||||||
.BR memmove (3)
|
.BR memmove (3)
|
||||||
in new programs.
|
in new programs.
|
||||||
Note that the first two parameters
|
Note that the first two arguments
|
||||||
are interchanged for
|
are interchanged for
|
||||||
.BR memcpy (3)
|
.BR memcpy (3)
|
||||||
and
|
and
|
||||||
|
|
|
@ -200,7 +200,7 @@ is 0 (no order is specified) the current host order is used.
|
||||||
If the file already exists (and the
|
If the file already exists (and the
|
||||||
.B O_TRUNC
|
.B O_TRUNC
|
||||||
flag is not specified), the
|
flag is not specified), the
|
||||||
values specified for the parameters
|
values specified for the arguments
|
||||||
.IR flags ,
|
.IR flags ,
|
||||||
.I lorder
|
.I lorder
|
||||||
and
|
and
|
||||||
|
|
|
@ -65,7 +65,9 @@ opens
|
||||||
.I file
|
.I file
|
||||||
for reading and/or writing.
|
for reading and/or writing.
|
||||||
Files never intended to be preserved on disk may be created by setting
|
Files never intended to be preserved on disk may be created by setting
|
||||||
the file parameter to NULL.
|
the
|
||||||
|
.I file
|
||||||
|
argument to NULL.
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.I flags
|
.I flags
|
||||||
|
@ -185,7 +187,7 @@ and 0 on success.
|
||||||
.I del
|
.I del
|
||||||
A pointer to a routine to remove key/data pairs from the database.
|
A pointer to a routine to remove key/data pairs from the database.
|
||||||
.IP
|
.IP
|
||||||
The parameter
|
The argument
|
||||||
.I flag
|
.I flag
|
||||||
may be set to the following value:
|
may be set to the following value:
|
||||||
.RS
|
.RS
|
||||||
|
@ -241,7 +243,7 @@ was not in the file.
|
||||||
.I put
|
.I put
|
||||||
A pointer to a routine to store key/data pairs in the database.
|
A pointer to a routine to store key/data pairs in the database.
|
||||||
.IP
|
.IP
|
||||||
The parameter
|
The argument
|
||||||
.I flag
|
.I flag
|
||||||
may be set to one of the following values:
|
may be set to one of the following values:
|
||||||
.RS
|
.RS
|
||||||
|
|
|
@ -58,23 +58,23 @@ Also, regularities in the clear text will
|
||||||
not appear in the cipher text.
|
not appear in the cipher text.
|
||||||
.LP
|
.LP
|
||||||
Here is how to use these routines.
|
Here is how to use these routines.
|
||||||
The first parameter,
|
The first argument,
|
||||||
.IR key ,
|
.IR key ,
|
||||||
is the 8-byte encryption key with parity.
|
is the 8-byte encryption key with parity.
|
||||||
To set the key's parity, which for
|
To set the key's parity, which for
|
||||||
DES
|
DES
|
||||||
is in the low bit of each byte, use
|
is in the low bit of each byte, use
|
||||||
.BR des_setparity ().
|
.BR des_setparity ().
|
||||||
The second parameter,
|
The second argument,
|
||||||
.IR data ,
|
.IR data ,
|
||||||
contains the data to be encrypted or decrypted.
|
contains the data to be encrypted or decrypted.
|
||||||
The
|
The
|
||||||
third parameter,
|
third argument,
|
||||||
.IR datalen ,
|
.IR datalen ,
|
||||||
is the length in bytes of
|
is the length in bytes of
|
||||||
.IR data ,
|
.IR data ,
|
||||||
which must be a multiple of 8.
|
which must be a multiple of 8.
|
||||||
The fourth parameter,
|
The fourth argument,
|
||||||
.IR mode ,
|
.IR mode ,
|
||||||
is formed by
|
is formed by
|
||||||
OR 'ing
|
OR 'ing
|
||||||
|
@ -95,7 +95,7 @@ in software and the routine returns
|
||||||
.BR DESERR_NOHWDEVICE .
|
.BR DESERR_NOHWDEVICE .
|
||||||
For
|
For
|
||||||
.BR cbc_crypt (),
|
.BR cbc_crypt (),
|
||||||
the parameter
|
the argument
|
||||||
.I ivec
|
.I ivec
|
||||||
is the 8-byte initialization
|
is the 8-byte initialization
|
||||||
vector for the chaining.
|
vector for the chaining.
|
||||||
|
@ -114,7 +114,7 @@ Encryption succeeded, but done in software instead of the requested hardware.
|
||||||
An error occurred in the hardware or driver.
|
An error occurred in the hardware or driver.
|
||||||
.TP
|
.TP
|
||||||
.BR DESERR_BADPARAM
|
.BR DESERR_BADPARAM
|
||||||
Bad parameter to routine.
|
Bad argument to routine.
|
||||||
.PD
|
.PD
|
||||||
.LP
|
.LP
|
||||||
Given a result status
|
Given a result status
|
||||||
|
|
|
@ -62,7 +62,7 @@ next POSIX.1 revision.
|
||||||
.\"
|
.\"
|
||||||
.\" .BI "void dprintf(int level, const char *" format ", ...);"
|
.\" .BI "void dprintf(int level, const char *" format ", ...);"
|
||||||
.\"
|
.\"
|
||||||
.\" where the first parameter is a debugging level (and output is to
|
.\" where the first argument is a debugging level (and output is to
|
||||||
.\" .IR stderr ).
|
.\" .IR stderr ).
|
||||||
.\" Moreover,
|
.\" Moreover,
|
||||||
.\" .BR dprintf ()
|
.\" .BR dprintf ()
|
||||||
|
|
|
@ -55,7 +55,7 @@ function sets the key used by
|
||||||
.BR encrypt ().
|
.BR encrypt ().
|
||||||
The
|
The
|
||||||
.I key
|
.I key
|
||||||
parameter used here is an array of 64 bytes, each of which has
|
argument used here is an array of 64 bytes, each of which has
|
||||||
numerical value 1 or 0.
|
numerical value 1 or 0.
|
||||||
The bytes key[n] where n=8*i-1 are ignored,
|
The bytes key[n] where n=8*i-1 are ignored,
|
||||||
so that the effective key length is 56 bits.
|
so that the effective key length is 56 bits.
|
||||||
|
@ -65,7 +65,9 @@ The
|
||||||
function modifies the passed buffer, encoding if
|
function modifies the passed buffer, encoding if
|
||||||
.I edflag
|
.I edflag
|
||||||
is 0, and decoding if 1 is being passed.
|
is 0, and decoding if 1 is being passed.
|
||||||
Like the key parameter also
|
Like the
|
||||||
|
.I key
|
||||||
|
argument, also
|
||||||
.I block
|
.I block
|
||||||
is a bit vector representation of the actual value that is encoded.
|
is a bit vector representation of the actual value that is encoded.
|
||||||
The result is returned in that same vector.
|
The result is returned in that same vector.
|
||||||
|
|
|
@ -107,10 +107,12 @@ The
|
||||||
.BR execle ()
|
.BR execle ()
|
||||||
function also specifies the environment of the executed process by following
|
function also specifies the environment of the executed process by following
|
||||||
the NULL
|
the NULL
|
||||||
pointer that terminates the list of arguments in the parameter list or the
|
pointer that terminates the list of arguments in the argument list or the
|
||||||
pointer to the argv array with an additional parameter.
|
pointer to the
|
||||||
|
.I argv
|
||||||
|
array with an additional argument.
|
||||||
This additional
|
This additional
|
||||||
parameter is an array of pointers to null-terminated strings and
|
argument is an array of pointers to null-terminated strings and
|
||||||
.I must
|
.I must
|
||||||
be terminated by a NULL pointer.
|
be terminated by a NULL pointer.
|
||||||
The other functions take the environment for the new process
|
The other functions take the environment for the new process
|
||||||
|
|
|
@ -20,10 +20,10 @@ fmtmsg \- print formatted error messages
|
||||||
.BI " const char *" action ", const char *" tag );
|
.BI " const char *" action ", const char *" tag );
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
This function displays a message described by its parameters on the device(s)
|
This function displays a message described by its arguments on the device(s)
|
||||||
specified in the
|
specified in the
|
||||||
.I classification
|
.I classification
|
||||||
parameter.
|
argument.
|
||||||
For messages written to
|
For messages written to
|
||||||
.IR stderr ,
|
.IR stderr ,
|
||||||
the format depends on the
|
the format depends on the
|
||||||
|
@ -32,29 +32,29 @@ environment variable.
|
||||||
.LP
|
.LP
|
||||||
The
|
The
|
||||||
.I label
|
.I label
|
||||||
parameter identifies the source of the message.
|
argument identifies the source of the message.
|
||||||
The string must consist
|
The string must consist
|
||||||
of two colon separated parts where the first part has not more
|
of two colon separated parts where the first part has not more
|
||||||
than 10 and the second part not more than 14 characters.
|
than 10 and the second part not more than 14 characters.
|
||||||
.LP
|
.LP
|
||||||
The
|
The
|
||||||
.I text
|
.I text
|
||||||
parameter describes the condition of the error.
|
argument describes the condition of the error.
|
||||||
.LP
|
.LP
|
||||||
The
|
The
|
||||||
.I action
|
.I action
|
||||||
parameter describes possible steps to recover from the error.
|
argument describes possible steps to recover from the error.
|
||||||
If it is printed, it is prefixed by "TO FIX: ".
|
If it is printed, it is prefixed by "TO FIX: ".
|
||||||
.LP
|
.LP
|
||||||
The
|
The
|
||||||
.I tag
|
.I tag
|
||||||
parameter is a reference to the online documentation where more
|
argument is a reference to the online documentation where more
|
||||||
information can be found.
|
information can be found.
|
||||||
It should contain the
|
It should contain the
|
||||||
.I label
|
.I label
|
||||||
value and a unique identification number.
|
value and a unique identification number.
|
||||||
.SS "Dummy parameters"
|
.SS "Dummy arguments"
|
||||||
Each of the parameters can have a dummy value.
|
Each of the arguments can have a dummy value.
|
||||||
The dummy classification value
|
The dummy classification value
|
||||||
.B MM_NULLMC
|
.B MM_NULLMC
|
||||||
(0L) does not specify any output, so nothing is printed.
|
(0L) does not specify any output, so nothing is printed.
|
||||||
|
@ -72,10 +72,10 @@ the empty string, and
|
||||||
.B MM_NULLSEV
|
.B MM_NULLSEV
|
||||||
is a synonym for
|
is a synonym for
|
||||||
.BR NO_SEV .
|
.BR NO_SEV .
|
||||||
.SS "The classification parameter"
|
.SS "The classification argument"
|
||||||
The
|
The
|
||||||
.I classification
|
.I classification
|
||||||
parameter is the sum of values describing 4 types of information.
|
argument is the sum of values describing 4 types of information.
|
||||||
.br
|
.br
|
||||||
.sp
|
.sp
|
||||||
The first value defines the output channel.
|
The first value defines the output channel.
|
||||||
|
@ -119,10 +119,10 @@ It is a recoverable error.
|
||||||
.TP
|
.TP
|
||||||
.B MM_NRECOV
|
.B MM_NRECOV
|
||||||
It is a non-recoverable error.
|
It is a non-recoverable error.
|
||||||
.SS "The severity parameter"
|
.SS "The severity argument"
|
||||||
The
|
The
|
||||||
.I severity
|
.I severity
|
||||||
parameter can take one of the following values:
|
argument can take one of the following values:
|
||||||
.TP 12n
|
.TP 12n
|
||||||
.B MM_NOSEV
|
.B MM_NOSEV
|
||||||
No severity is printed.
|
No severity is printed.
|
||||||
|
@ -207,7 +207,7 @@ The severity-keyword part is not used by
|
||||||
but it has to be present.
|
but it has to be present.
|
||||||
The level part is a string representation of a number.
|
The level part is a string representation of a number.
|
||||||
The numeric value must be a number greater than 4.
|
The numeric value must be a number greater than 4.
|
||||||
This value must be used in the severity parameter of
|
This value must be used in the severity argument of
|
||||||
.BR fmtmsg ()
|
.BR fmtmsg ()
|
||||||
to select this class.
|
to select this class.
|
||||||
It is not possible to overwrite
|
It is not possible to overwrite
|
||||||
|
|
|
@ -103,9 +103,8 @@ The maximum needed size for
|
||||||
.I buf
|
.I buf
|
||||||
can be found using
|
can be found using
|
||||||
.BR sysconf (3)
|
.BR sysconf (3)
|
||||||
with the
|
with the argument
|
||||||
.B _SC_GETGR_R_SIZE_MAX
|
.BR _SC_GETGR_R_SIZE_MAX .
|
||||||
parameter.
|
|
||||||
.SH "RETURN VALUE"
|
.SH "RETURN VALUE"
|
||||||
The
|
The
|
||||||
.BR getgrnam ()
|
.BR getgrnam ()
|
||||||
|
|
|
@ -310,7 +310,7 @@ was an
|
||||||
.IR int .
|
.IR int .
|
||||||
The SUSv2 standard is buggy and declares the
|
The SUSv2 standard is buggy and declares the
|
||||||
.I len
|
.I len
|
||||||
parameter of
|
argument of
|
||||||
.BR gethostbyaddr ()
|
.BR gethostbyaddr ()
|
||||||
to be of type
|
to be of type
|
||||||
.IR size_t .
|
.IR size_t .
|
||||||
|
|
|
@ -88,33 +88,33 @@ function is used to release the dynamically allocated memory
|
||||||
after the caller no longer needs the
|
after the caller no longer needs the
|
||||||
.I hostent
|
.I hostent
|
||||||
structure.
|
structure.
|
||||||
.SS getipnodebyname parameters
|
.SS getipnodebyname() arguments
|
||||||
The
|
The
|
||||||
.BR getipnodebyname ()
|
.BR getipnodebyname ()
|
||||||
function
|
function
|
||||||
looks up network addresses for the host
|
looks up network addresses for the host
|
||||||
specified by the
|
specified by the
|
||||||
.I name
|
.I name
|
||||||
parameter.
|
argument.
|
||||||
The
|
The
|
||||||
.I af
|
.I af
|
||||||
parameter specifies one of the following values:
|
argument specifies one of the following values:
|
||||||
.TP
|
.TP
|
||||||
.B AF_INET
|
.B AF_INET
|
||||||
The
|
The
|
||||||
.I name
|
.I name
|
||||||
parameter points to a dotted-quad IPv4 address or a name
|
argument points to a dotted-quad IPv4 address or a name
|
||||||
of an IPv4 network host.
|
of an IPv4 network host.
|
||||||
.TP
|
.TP
|
||||||
.B AF_INET6
|
.B AF_INET6
|
||||||
The
|
The
|
||||||
.I name
|
.I name
|
||||||
parameter points to a hexadecimal IPv6 address or a name
|
argument points to a hexadecimal IPv6 address or a name
|
||||||
of an IPv6 network host.
|
of an IPv6 network host.
|
||||||
.PP
|
.PP
|
||||||
The
|
The
|
||||||
.I flags
|
.I flags
|
||||||
parameter specifies additional options.
|
argument specifies additional options.
|
||||||
More than one option can be specified by logically OR-ing
|
More than one option can be specified by logically OR-ing
|
||||||
them together.
|
them together.
|
||||||
.I flags
|
.I flags
|
||||||
|
@ -149,7 +149,7 @@ flag.
|
||||||
.B AI_DEFAULT
|
.B AI_DEFAULT
|
||||||
This flag is equivalent to
|
This flag is equivalent to
|
||||||
.BR "(AI_ADDRCONFIG | AI_V4MAPPED)" .
|
.BR "(AI_ADDRCONFIG | AI_V4MAPPED)" .
|
||||||
.SS getipnodebyaddr parameters
|
.SS getipnodebyaddr() arguments
|
||||||
The
|
The
|
||||||
.BR getipnodebyaddr ()
|
.BR getipnodebyaddr ()
|
||||||
function
|
function
|
||||||
|
@ -157,15 +157,15 @@ looks up the name of the host whose
|
||||||
network address is
|
network address is
|
||||||
specified by the
|
specified by the
|
||||||
.I addr
|
.I addr
|
||||||
parameter.
|
argument.
|
||||||
The
|
The
|
||||||
.I af
|
.I af
|
||||||
parameter specifies one of the following values:
|
argument specifies one of the following values:
|
||||||
.TP
|
.TP
|
||||||
.B AF_INET
|
.B AF_INET
|
||||||
The
|
The
|
||||||
.I addr
|
.I addr
|
||||||
parameter points to a
|
argument points to a
|
||||||
.I struct in_addr
|
.I struct in_addr
|
||||||
and
|
and
|
||||||
.I len
|
.I len
|
||||||
|
@ -175,7 +175,7 @@ must be set to
|
||||||
.B AF_INET6
|
.B AF_INET6
|
||||||
The
|
The
|
||||||
.I addr
|
.I addr
|
||||||
parameter points to a
|
argument points to a
|
||||||
.I struct in6_addr
|
.I struct in6_addr
|
||||||
and
|
and
|
||||||
.I len
|
.I len
|
||||||
|
@ -216,7 +216,7 @@ The array is terminated by a null pointer.
|
||||||
.I h_addrtype
|
.I h_addrtype
|
||||||
This is a copy of the
|
This is a copy of the
|
||||||
.I af
|
.I af
|
||||||
parameter to
|
argument to
|
||||||
.BR getipnodebyname ()
|
.BR getipnodebyname ()
|
||||||
or
|
or
|
||||||
.BR getipnodebyaddr ().
|
.BR getipnodebyaddr ().
|
||||||
|
@ -225,14 +225,14 @@ will always be
|
||||||
.B AF_INET
|
.B AF_INET
|
||||||
if the
|
if the
|
||||||
.I af
|
.I af
|
||||||
parameter was
|
argument was
|
||||||
.BR AF_INET .
|
.BR AF_INET .
|
||||||
.I h_addrtype
|
.I h_addrtype
|
||||||
will always be
|
will always be
|
||||||
.B AF_INET6
|
.B AF_INET6
|
||||||
if the
|
if the
|
||||||
.I af
|
.I af
|
||||||
parameter was
|
argument was
|
||||||
.BR AF_INET6 .
|
.BR AF_INET6 .
|
||||||
.TP
|
.TP
|
||||||
.I h_length
|
.I h_length
|
||||||
|
|
|
@ -101,7 +101,7 @@ condition).
|
||||||
.SH ERRORS
|
.SH ERRORS
|
||||||
.TP
|
.TP
|
||||||
.B EINVAL
|
.B EINVAL
|
||||||
Bad parameters
|
Bad arguments
|
||||||
.RI ( n
|
.RI ( n
|
||||||
or
|
or
|
||||||
.I lineptr
|
.I lineptr
|
||||||
|
|
|
@ -58,8 +58,7 @@ and
|
||||||
The former reads the next passwd entry from the stream initialized by
|
The former reads the next passwd entry from the stream initialized by
|
||||||
.BR setpwent (3).
|
.BR setpwent (3).
|
||||||
The latter reads the next passwd entry from the stream
|
The latter reads the next passwd entry from the stream
|
||||||
.I fp
|
.IR fp .
|
||||||
given as parameter.
|
|
||||||
.PP
|
.PP
|
||||||
The \fIpasswd\fP structure is defined in
|
The \fIpasswd\fP structure is defined in
|
||||||
.I <pwd.h>
|
.I <pwd.h>
|
||||||
|
|
|
@ -117,9 +117,8 @@ The maximum needed size for
|
||||||
.I buf
|
.I buf
|
||||||
can be found using
|
can be found using
|
||||||
.BR sysconf (3)
|
.BR sysconf (3)
|
||||||
with the
|
with the argument
|
||||||
.B _SC_GETPW_R_SIZE_MAX
|
.BR _SC_GETPW_R_SIZE_MAX .
|
||||||
parameter.
|
|
||||||
.SH "RETURN VALUE"
|
.SH "RETURN VALUE"
|
||||||
The
|
The
|
||||||
.BR getpwnam ()
|
.BR getpwnam ()
|
||||||
|
|
|
@ -224,7 +224,7 @@ These functions are GNU extensions, analogs of the functions of the
|
||||||
same name without the _r suffix.
|
same name without the _r suffix.
|
||||||
The
|
The
|
||||||
.I ubuf
|
.I ubuf
|
||||||
parameter gives these functions a place to store their result.
|
argument gives these functions a place to store their result.
|
||||||
On success they return 0, and a pointer to the result is written in
|
On success they return 0, and a pointer to the result is written in
|
||||||
.IR *ubufp .
|
.IR *ubufp .
|
||||||
On error these functions return \-1.
|
On error these functions return \-1.
|
||||||
|
|
|
@ -85,7 +85,7 @@ typedef struct {
|
||||||
.PP
|
.PP
|
||||||
Results are stored in dynamically allocated storage.
|
Results are stored in dynamically allocated storage.
|
||||||
.PP
|
.PP
|
||||||
The parameter
|
The argument
|
||||||
.I flags
|
.I flags
|
||||||
is made up of the bitwise OR of zero or more the following symbolic
|
is made up of the bitwise OR of zero or more the following symbolic
|
||||||
constants, which modify the behavior of
|
constants, which modify the behavior of
|
||||||
|
|
|
@ -84,7 +84,7 @@ then it does nothing and returns 1.
|
||||||
Otherwise, it resets the action to
|
Otherwise, it resets the action to
|
||||||
.B SIG_DFL
|
.B SIG_DFL
|
||||||
and calls
|
and calls
|
||||||
the action function with parameter
|
the action function with argument
|
||||||
.IR signum ,
|
.IR signum ,
|
||||||
and returns the value returned by that function.
|
and returns the value returned by that function.
|
||||||
The range of possible values
|
The range of possible values
|
||||||
|
|
|
@ -140,7 +140,7 @@ The glibc implementation will return the following two errors.
|
||||||
Table full with \fIaction\fP set to \fBENTER\fP.
|
Table full with \fIaction\fP set to \fBENTER\fP.
|
||||||
.TP
|
.TP
|
||||||
.B ESRCH
|
.B ESRCH
|
||||||
The \fIaction\fP parameter is \fBFIND\fP and no corresponding element
|
The \fIaction\fP argument is \fBFIND\fP and no corresponding element
|
||||||
is found in the table.
|
is found in the table.
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
The functions
|
The functions
|
||||||
|
|
|
@ -98,7 +98,7 @@ The converted address string would exceed the size given by
|
||||||
.IR cnt .
|
.IR cnt .
|
||||||
.SH "CONFORMING TO"
|
.SH "CONFORMING TO"
|
||||||
POSIX.1-2001.
|
POSIX.1-2001.
|
||||||
Note that RFC\ 2553 defines a prototype where the last parameter
|
Note that RFC\ 2553 defines a prototype where the last argument
|
||||||
.I cnt
|
.I cnt
|
||||||
is of type
|
is of type
|
||||||
.IR size_t .
|
.IR size_t .
|
||||||
|
|
|
@ -66,7 +66,7 @@ Since using a constant location
|
||||||
is not thread-safe, the functions
|
is not thread-safe, the functions
|
||||||
.BR lgamma_r ()
|
.BR lgamma_r ()
|
||||||
etc. have
|
etc. have
|
||||||
been introduced; they return this sign via the parameter
|
been introduced; they return this sign via the argument
|
||||||
.IR signp .
|
.IR signp .
|
||||||
.PP
|
.PP
|
||||||
For non-positive integer values of \fIx\fP,
|
For non-positive integer values of \fIx\fP,
|
||||||
|
|
|
@ -133,7 +133,9 @@ If the page exists, a pointer to the page is returned.
|
||||||
Otherwise, NULL is returned and
|
Otherwise, NULL is returned and
|
||||||
.I errno
|
.I errno
|
||||||
is set.
|
is set.
|
||||||
The flags parameter is not currently used.
|
The
|
||||||
|
.I flags
|
||||||
|
argument is not currently used.
|
||||||
.PP
|
.PP
|
||||||
The function
|
The function
|
||||||
.BR mpool_put ()
|
.BR mpool_put ()
|
||||||
|
|
|
@ -66,7 +66,9 @@ The caller must check if the current
|
||||||
didn't have the
|
didn't have the
|
||||||
.B NLMSG_DONE
|
.B NLMSG_DONE
|
||||||
set \(em this function doesn't return NULL on end.
|
set \(em this function doesn't return NULL on end.
|
||||||
The length parameter is an lvalue containing the remaining length
|
The
|
||||||
|
.I len
|
||||||
|
argument is an lvalue containing the remaining length
|
||||||
of the message buffer.
|
of the message buffer.
|
||||||
This macro decrements it by the length of the message header.
|
This macro decrements it by the length of the message header.
|
||||||
.TP
|
.TP
|
||||||
|
|
|
@ -103,7 +103,7 @@ The
|
||||||
.I termp
|
.I termp
|
||||||
and
|
and
|
||||||
.I winp
|
.I winp
|
||||||
parameters, if not NULL,
|
arguments, if not NULL,
|
||||||
will determine the terminal attributes and window size of the slave
|
will determine the terminal attributes and window size of the slave
|
||||||
side of the pseudo-terminal.
|
side of the pseudo-terminal.
|
||||||
.SH "RETURN VALUE"
|
.SH "RETURN VALUE"
|
||||||
|
|
|
@ -95,7 +95,7 @@ is not set.
|
||||||
.B EINVAL
|
.B EINVAL
|
||||||
The
|
The
|
||||||
.I alignment
|
.I alignment
|
||||||
parameter was not a power of two, or was not a multiple of
|
argument was not a power of two, or was not a multiple of
|
||||||
.IR "sizeof(void *)" .
|
.IR "sizeof(void *)" .
|
||||||
.TP
|
.TP
|
||||||
.B ENOMEM
|
.B ENOMEM
|
||||||
|
@ -163,7 +163,7 @@ matches the requirements detailed above.
|
||||||
.BR memalign ()
|
.BR memalign ()
|
||||||
may not check that the
|
may not check that the
|
||||||
.I boundary
|
.I boundary
|
||||||
parameter is correct.
|
argument is correct.
|
||||||
|
|
||||||
POSIX requires that memory obtained from
|
POSIX requires that memory obtained from
|
||||||
.BR posix_memalign ()
|
.BR posix_memalign ()
|
||||||
|
|
|
@ -98,7 +98,7 @@ The
|
||||||
.I nmatch
|
.I nmatch
|
||||||
and
|
and
|
||||||
.I pmatch
|
.I pmatch
|
||||||
parameters to
|
arguments to
|
||||||
.BR regexec ()
|
.BR regexec ()
|
||||||
are ignored if the pattern buffer supplied was compiled with this flag set.
|
are ignored if the pattern buffer supplied was compiled with this flag set.
|
||||||
.TP
|
.TP
|
||||||
|
|
|
@ -97,7 +97,7 @@ The
|
||||||
function may be used on any open stream to change its buffer.
|
function may be used on any open stream to change its buffer.
|
||||||
The
|
The
|
||||||
.I mode
|
.I mode
|
||||||
parameter must be one of the following three macros:
|
argument must be one of the following three macros:
|
||||||
.RS
|
.RS
|
||||||
.TP
|
.TP
|
||||||
.B _IONBF
|
.B _IONBF
|
||||||
|
|
|
@ -70,7 +70,7 @@ same name was solved by the
|
||||||
.BR \%sigsuspend (2)
|
.BR \%sigsuspend (2)
|
||||||
function, that takes a
|
function, that takes a
|
||||||
.I "sigset_t *"
|
.I "sigset_t *"
|
||||||
parameter (instead of an
|
argument (instead of an
|
||||||
.IR int ).
|
.IR int ).
|
||||||
.SS Linux Notes
|
.SS Linux Notes
|
||||||
On Linux, this routine is a system call only on the Sparc (sparc64)
|
On Linux, this routine is a system call only on the Sparc (sparc64)
|
||||||
|
|
|
@ -79,12 +79,12 @@ and
|
||||||
.BR va_end (),
|
.BR va_end (),
|
||||||
and must be called first.
|
and must be called first.
|
||||||
.PP
|
.PP
|
||||||
The parameter
|
The argument
|
||||||
.I last
|
.I last
|
||||||
is the name of the last parameter before the variable argument list, that is,
|
is the name of the last argument before the variable argument list, that is,
|
||||||
the last parameter of which the calling function knows the type.
|
the last argument of which the calling function knows the type.
|
||||||
.PP
|
.PP
|
||||||
Because the address of this parameter may be used in the
|
Because the address of this argument may be used in the
|
||||||
.BR va_start ()
|
.BR va_start ()
|
||||||
macro, it should not be declared as a register variable,
|
macro, it should not be declared as a register variable,
|
||||||
or as a function or an array type.
|
or as a function or an array type.
|
||||||
|
@ -93,7 +93,7 @@ The
|
||||||
.BR va_arg ()
|
.BR va_arg ()
|
||||||
macro expands to an expression that has the type and value of the next
|
macro expands to an expression that has the type and value of the next
|
||||||
argument in the call.
|
argument in the call.
|
||||||
The parameter
|
The argument
|
||||||
.I ap
|
.I ap
|
||||||
is the
|
is the
|
||||||
.I va_list
|
.I va_list
|
||||||
|
@ -105,7 +105,7 @@ Each call to
|
||||||
modifies
|
modifies
|
||||||
.I ap
|
.I ap
|
||||||
so that the next call returns the next argument.
|
so that the next call returns the next argument.
|
||||||
The parameter
|
The argument
|
||||||
.I type
|
.I type
|
||||||
is a type name specified so that the type of a pointer to an object that
|
is a type name specified so that the type of a pointer to an object that
|
||||||
has the specified type can be obtained simply by adding a * to
|
has the specified type can be obtained simply by adding a * to
|
||||||
|
@ -174,11 +174,11 @@ va_list aq;
|
||||||
|
|
||||||
.fi
|
.fi
|
||||||
.in
|
.in
|
||||||
Finally, on systems where parameters are passed in registers,
|
Finally, on systems where arguments are passed in registers,
|
||||||
it may be necessary for
|
it may be necessary for
|
||||||
.BR va_start ()
|
.BR va_start ()
|
||||||
to allocate memory, store the parameters there, and also
|
to allocate memory, store the arguments there, and also
|
||||||
an indication of which parameter is next, so that
|
an indication of which argument is next, so that
|
||||||
.BR va_arg ()
|
.BR va_arg ()
|
||||||
can step through the list.
|
can step through the list.
|
||||||
Now
|
Now
|
||||||
|
|
|
@ -100,7 +100,7 @@ function can be used to select the desired type of locking on the stream.
|
||||||
It returns the current type.
|
It returns the current type.
|
||||||
The
|
The
|
||||||
.I type
|
.I type
|
||||||
parameter can take the following three values:
|
argument can take the following three values:
|
||||||
.TP
|
.TP
|
||||||
.B FSETLOCKING_INTERNAL
|
.B FSETLOCKING_INTERNAL
|
||||||
Perform implicit locking around every operation on the given stream
|
Perform implicit locking around every operation on the given stream
|
||||||
|
|
|
@ -102,7 +102,7 @@ argument will be
|
||||||
.SS "POSIX.1 Variables"
|
.SS "POSIX.1 Variables"
|
||||||
We give the name of the variable, the name of the
|
We give the name of the variable, the name of the
|
||||||
.BR sysconf ()
|
.BR sysconf ()
|
||||||
parameter used to inquire about its value,
|
argument used to inquire about its value,
|
||||||
and a short description.
|
and a short description.
|
||||||
.LP
|
.LP
|
||||||
First, the POSIX.1 compatible values.
|
First, the POSIX.1 compatible values.
|
||||||
|
|
|
@ -123,7 +123,7 @@ been obtained using the
|
||||||
.BR stdarg (3)
|
.BR stdarg (3)
|
||||||
variable argument list macros.
|
variable argument list macros.
|
||||||
|
|
||||||
The subsections below lists the parameters used to set the values of
|
The subsections below list the parameters used to set the values of
|
||||||
.IR option , " facility" ", and " priority .
|
.IR option , " facility" ", and " priority .
|
||||||
.SS option
|
.SS option
|
||||||
The
|
The
|
||||||
|
@ -285,7 +285,7 @@ in most versions of Unix.
|
||||||
.\" mechanism, which is not compatible with
|
.\" mechanism, which is not compatible with
|
||||||
.\" .IR <stdarg.h> .
|
.\" .IR <stdarg.h> .
|
||||||
.SH NOTES
|
.SH NOTES
|
||||||
The parameter
|
The argument
|
||||||
.I ident
|
.I ident
|
||||||
in the call of
|
in the call of
|
||||||
.BR openlog ()
|
.BR openlog ()
|
||||||
|
|
|
@ -108,7 +108,7 @@ or
|
||||||
.LP
|
.LP
|
||||||
Portable applications that use threads cannot call
|
Portable applications that use threads cannot call
|
||||||
.BR tmpnam ()
|
.BR tmpnam ()
|
||||||
with NULL parameter if either
|
with a NULL argument if either
|
||||||
.B _POSIX_THREADS
|
.B _POSIX_THREADS
|
||||||
or
|
or
|
||||||
.B _POSIX_THREAD_SAFE_FUNCTIONS
|
.B _POSIX_THREAD_SAFE_FUNCTIONS
|
||||||
|
|
|
@ -157,7 +157,7 @@ initial NULLs in the array
|
||||||
Don't do command substitution.
|
Don't do command substitution.
|
||||||
.TP
|
.TP
|
||||||
.B WRDE_REUSE
|
.B WRDE_REUSE
|
||||||
The parameter
|
The argument
|
||||||
.I p
|
.I p
|
||||||
resulted from a previous call to
|
resulted from a previous call to
|
||||||
.BR wordexp (),
|
.BR wordexp (),
|
||||||
|
|
26
man3/xdr.3
26
man3/xdr.3
|
@ -39,14 +39,14 @@ type, see
|
||||||
.IP
|
.IP
|
||||||
A filter primitive that translates between variable-length arrays
|
A filter primitive that translates between variable-length arrays
|
||||||
and their corresponding external representations.
|
and their corresponding external representations.
|
||||||
The parameter
|
The argument
|
||||||
.I arrp
|
.I arrp
|
||||||
is the address of the pointer to the array, while
|
is the address of the pointer to the array, while
|
||||||
.I sizep
|
.I sizep
|
||||||
is the address of the element count of the array;
|
is the address of the element count of the array;
|
||||||
this element count cannot exceed
|
this element count cannot exceed
|
||||||
.IR maxsize .
|
.IR maxsize .
|
||||||
The parameter
|
The argument
|
||||||
.I elsize
|
.I elsize
|
||||||
is the
|
is the
|
||||||
.I sizeof
|
.I sizeof
|
||||||
|
@ -75,7 +75,7 @@ This routine returns one if it succeeds, zero otherwise.
|
||||||
.IP
|
.IP
|
||||||
A filter primitive that translates between counted byte
|
A filter primitive that translates between counted byte
|
||||||
strings and their external representations.
|
strings and their external representations.
|
||||||
The parameter
|
The argument
|
||||||
.I sp
|
.I sp
|
||||||
is the address of the string pointer.
|
is the address of the string pointer.
|
||||||
The length of the
|
The length of the
|
||||||
|
@ -231,7 +231,7 @@ or
|
||||||
.IP
|
.IP
|
||||||
A filter primitive that translates between fixed size opaque data
|
A filter primitive that translates between fixed size opaque data
|
||||||
and its external representation.
|
and its external representation.
|
||||||
The parameter
|
The argument
|
||||||
.I cp
|
.I cp
|
||||||
is the address of the opaque object, and
|
is the address of the opaque object, and
|
||||||
.I cnt
|
.I cnt
|
||||||
|
@ -282,7 +282,7 @@ and
|
||||||
.BR write (2),
|
.BR write (2),
|
||||||
except that
|
except that
|
||||||
.I handle
|
.I handle
|
||||||
is passed to the former routines as the first parameter.
|
is passed to the former routines as the first argument.
|
||||||
Note: the XDR stream's
|
Note: the XDR stream's
|
||||||
.I op
|
.I op
|
||||||
field must be set by the caller.
|
field must be set by the caller.
|
||||||
|
@ -330,7 +330,7 @@ This routine returns one if it succeeds, zero otherwise.
|
||||||
.fi
|
.fi
|
||||||
.IP
|
.IP
|
||||||
A primitive that provides pointer chasing within structures.
|
A primitive that provides pointer chasing within structures.
|
||||||
The parameter
|
The argument
|
||||||
.I pp
|
.I pp
|
||||||
is the address of the pointer;
|
is the address of the pointer;
|
||||||
.I size
|
.I size
|
||||||
|
@ -356,7 +356,7 @@ instead.
|
||||||
A macro that invokes the set position routine associated with
|
A macro that invokes the set position routine associated with
|
||||||
the XDR stream
|
the XDR stream
|
||||||
.IR xdrs .
|
.IR xdrs .
|
||||||
The parameter
|
The argument
|
||||||
.I pos
|
.I pos
|
||||||
is a position value obtained from
|
is a position value obtained from
|
||||||
.BR xdr_getpos ().
|
.BR xdr_getpos ().
|
||||||
|
@ -386,7 +386,7 @@ The XDR stream data is written to, or read from, the
|
||||||
.I stdio
|
.I stdio
|
||||||
stream
|
stream
|
||||||
.IR file .
|
.IR file .
|
||||||
The parameter
|
The argument
|
||||||
.I op
|
.I op
|
||||||
determines the direction of the XDR stream (either
|
determines the direction of the XDR stream (either
|
||||||
.BR XDR_ENCODE ,
|
.BR XDR_ENCODE ,
|
||||||
|
@ -467,7 +467,7 @@ This discriminant is always an
|
||||||
Next the union located at
|
Next the union located at
|
||||||
.I unp
|
.I unp
|
||||||
is translated.
|
is translated.
|
||||||
The parameter
|
The argument
|
||||||
.I choices
|
.I choices
|
||||||
is a pointer to an array of
|
is a pointer to an array of
|
||||||
.BR xdr_discrim ()
|
.BR xdr_discrim ()
|
||||||
|
@ -496,12 +496,12 @@ Returns one if it succeeds, zero otherwise.
|
||||||
.IP
|
.IP
|
||||||
A filter primitive that translates between fixed-length arrays
|
A filter primitive that translates between fixed-length arrays
|
||||||
and their corresponding external representations.
|
and their corresponding external representations.
|
||||||
The parameter
|
The argument
|
||||||
.I arrp
|
.I arrp
|
||||||
is the address of the pointer to the array, while
|
is the address of the pointer to the array, while
|
||||||
.I size
|
.I size
|
||||||
is the element count of the array.
|
is the element count of the array.
|
||||||
The parameter
|
The argument
|
||||||
.I elsize
|
.I elsize
|
||||||
is the
|
is the
|
||||||
.I sizeof
|
.I sizeof
|
||||||
|
@ -517,7 +517,7 @@ This routine returns one if it succeeds, zero otherwise.
|
||||||
.fi
|
.fi
|
||||||
.IP
|
.IP
|
||||||
This routine always returns one.
|
This routine always returns one.
|
||||||
It may be passed to RPC routines that require a function parameter,
|
It may be passed to RPC routines that require a function argument,
|
||||||
where nothing is to be done.
|
where nothing is to be done.
|
||||||
.LP
|
.LP
|
||||||
.nf
|
.nf
|
||||||
|
@ -531,7 +531,7 @@ where
|
||||||
is the maximum value of an unsigned integer.
|
is the maximum value of an unsigned integer.
|
||||||
.BR xdr_wrapstring ()
|
.BR xdr_wrapstring ()
|
||||||
is handy because the RPC package passes a maximum of two XDR
|
is handy because the RPC package passes a maximum of two XDR
|
||||||
routines as parameters, and
|
routines as arguments, and
|
||||||
.BR xdr_string (),
|
.BR xdr_string (),
|
||||||
one of the most frequently used primitives, requires three.
|
one of the most frequently used primitives, requires three.
|
||||||
Returns one if it succeeds, zero otherwise.
|
Returns one if it succeeds, zero otherwise.
|
||||||
|
|
|
@ -72,7 +72,7 @@ Three ioctls are available on all
|
||||||
sockets.
|
sockets.
|
||||||
They take a pointer to a
|
They take a pointer to a
|
||||||
.I struct arpreq
|
.I struct arpreq
|
||||||
as their parameter.
|
as their argument.
|
||||||
|
|
||||||
.in +4n
|
.in +4n
|
||||||
.nf
|
.nf
|
||||||
|
|
|
@ -416,7 +416,7 @@ bytes are available.
|
||||||
.\" Implemented in 2.1.11 for getsockopt: always return a zero struct.
|
.\" Implemented in 2.1.11 for getsockopt: always return a zero struct.
|
||||||
.\" Implemented in 2.3.41 for setsockopt, and actually used.
|
.\" Implemented in 2.3.41 for setsockopt, and actually used.
|
||||||
Specify the receiving or sending timeouts until reporting an error.
|
Specify the receiving or sending timeouts until reporting an error.
|
||||||
The parameter is a
|
The argument is a
|
||||||
.IR "struct timeval" .
|
.IR "struct timeval" .
|
||||||
If an input or output function blocks for this period of time, and
|
If an input or output function blocks for this period of time, and
|
||||||
data has been sent or received, the return value of that function
|
data has been sent or received, the return value of that function
|
||||||
|
|
|
@ -41,7 +41,7 @@ consists of a sequence of 16-bit words.
|
||||||
Such strings can contain as
|
Such strings can contain as
|
||||||
parts of many 16-bit characters bytes
|
parts of many 16-bit characters bytes
|
||||||
like \(aq\\0\(aq or \(aq/\(aq which have a
|
like \(aq\\0\(aq or \(aq/\(aq which have a
|
||||||
special meaning in filenames and other C library function parameters.
|
special meaning in filenames and other C library function arguments.
|
||||||
In addition, the majority of Unix tools expects ASCII files and can't
|
In addition, the majority of Unix tools expects ASCII files and can't
|
||||||
read 16-bit words as characters without major modifications.
|
read 16-bit words as characters without major modifications.
|
||||||
For these reasons,
|
For these reasons,
|
||||||
|
|
|
@ -69,7 +69,9 @@ The following X.25-specific socket options can be set by using
|
||||||
.BR setsockopt (2)
|
.BR setsockopt (2)
|
||||||
and read with
|
and read with
|
||||||
.BR getsockopt (2)
|
.BR getsockopt (2)
|
||||||
with the level parameter set to
|
with the
|
||||||
|
.I level
|
||||||
|
argument set to
|
||||||
.BR SOL_X25 .
|
.BR SOL_X25 .
|
||||||
.TP
|
.TP
|
||||||
.B X25_QBITINCL
|
.B X25_QBITINCL
|
||||||
|
|
Loading…
Reference in New Issue