aboutsummaryrefslogtreecommitdiffstats
path: root/man3
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2007-12-22 22:10:40 +0000
committerMichael Kerrisk <mtk.manpages@gmail.com>2007-12-22 22:10:40 +0000
commitbd9b2a9c4610979199ff8e77a46d5112859a4a3b (patch)
treefdca5770b55d2b9b2fc4434e0090e4edfb287e79 /man3
parente7c0f078db0a32a03a3fd1f187d7095b74163dc6 (diff)
downloadman-pages-bd9b2a9c4610979199ff8e77a46d5112859a4a3b.tar.gz
ffix
Diffstat (limited to 'man3')
-rw-r--r--man3/fenv.314
-rw-r--r--man3/getdirentries.34
-rw-r--r--man3/getgrent_r.38
-rw-r--r--man3/getgrnam.32
-rw-r--r--man3/getgrouplist.38
-rw-r--r--man3/getmntent.32
-rw-r--r--man3/getpwent_r.38
-rw-r--r--man3/getpwnam.32
-rw-r--r--man3/getspnam.34
-rw-r--r--man3/getsubopt.312
-rw-r--r--man3/perror.32
-rw-r--r--man3/termios.310
12 files changed, 38 insertions, 38 deletions
diff --git a/man3/fenv.3 b/man3/fenv.3
index bcd319f158..843bea9a03 100644
--- a/man3/fenv.3
+++ b/man3/fenv.3
@@ -113,7 +113,7 @@ function stores a representation of the state of the exception flags
represented by the argument
.I excepts
in the opaque object
-.RI * flagp .
+.IR *flagp .
.LP
The
.BR feraiseexcept ()
@@ -125,7 +125,7 @@ The
function sets the complete status for the exceptions represented by
.I excepts
to the value
-.RI * flagp .
+.IR *flagp .
This value must have been obtained by an earlier call of
.BR fegetexceptflag ()
with a last argument that contained all bits in
@@ -171,7 +171,7 @@ ISO C to have round to nearest, all exceptions cleared and a non-stop
The
.BR fegetenv ()
function saves the current floating point environment in the object
-.RI * envp .
+.IR *envp .
.LP
The
.BR feholdexcept ()
@@ -184,7 +184,7 @@ The
.BR fesetenv ()
function restores the floating point environment from
the object
-.RI * envp .
+.IR *envp .
This object must be known to be valid, for example, the result of a call to
.BR fegetenv ()
or
@@ -197,13 +197,13 @@ The
.BR feupdateenv ()
function installs the floating-point environment represented by
the object
-.RI * envp ,
+.IR *envp ,
except that currently raised exceptions are not cleared.
After calling this function, the raised exceptions will be a bitwise OR
of those previously set with those in
-.RI * envp .
+.IR *envp .
As before, the object
-.RI * envp
+.I *envp
must be known to be valid.
.SH "RETURN VALUE"
These functions return zero on success and non-zero if an error occurred.
diff --git a/man3/getdirentries.3 b/man3/getdirentries.3
index 36dd3e4ba9..5d2fc3227d 100644
--- a/man3/getdirentries.3
+++ b/man3/getdirentries.3
@@ -50,9 +50,9 @@ At most
.I nbytes
are read.
Reading starts at offset
-.RI * basep ,
+.IR *basep ,
and
-.RI * basep
+.I *basep
is updated with the new position after reading.
.SH "RETURN VALUE"
.BR getdirentries ()
diff --git a/man3/getgrent_r.3 b/man3/getgrent_r.3
index 250894b0a8..9090eb74da 100644
--- a/man3/getgrent_r.3
+++ b/man3/getgrent_r.3
@@ -93,15 +93,15 @@ of size
that can hold additional strings.
The result of these functions, the \fIstruct group\fP read from the stream,
is stored in the provided buffer
-.RI * gbuf ,
+.IR *gbuf ,
and a pointer to this \fIstruct group\fP is returned in
-.RI * gbufp .
+.IR *gbufp .
.SH "RETURN VALUE"
On success, these functions return 0 and
-.RI * gbufp
+.I *gbufp
is a pointer to the \fIstruct group\fP.
On error, these functions return an error value and
-.RI * gbufp
+.I *gbufp
is NULL.
.SH ERRORS
.TP
diff --git a/man3/getgrnam.3 b/man3/getgrnam.3
index 6429b63789..1573e607d2 100644
--- a/man3/getgrnam.3
+++ b/man3/getgrnam.3
@@ -84,7 +84,7 @@ of size
.IR buflen .
A pointer to the result (in case of success) or NULL (in case no entry
was found or an error occurred) is stored in
-.RI * gbufp .
+.IR *gbufp .
.PP
The \fIgroup\fP structure is defined in \fI<grp.h>\fP as follows:
.sp
diff --git a/man3/getgrouplist.3 b/man3/getgrouplist.3
index 732dd757c5..470590ca79 100644
--- a/man3/getgrouplist.3
+++ b/man3/getgrouplist.3
@@ -28,7 +28,7 @@ function scans the group database for all the groups
.I user
belongs to.
Up to
-.RI * ngroups
+.I *ngroups
group IDs corresponding to these groups are stored in the array
.IR groups ;
the return value from the function is the number of group IDs
@@ -39,12 +39,12 @@ is automatically included in the list of groups returned by
.BR getgrouplist ().
.SH "RETURN VALUE"
If
-.RI * ngroups
+.I *ngroups
is smaller than the total number of groups found, then
.BR getgrouplist ()
returns \-1.
In all cases the actual number of groups is stored in
-.RI * ngroups .
+.IR *ngroups .
.SH "VERSIONS"
This function is present since glibc 2.2.4.
.SH "CONFORMING TO"
@@ -52,7 +52,7 @@ This function is non-standard; it appears on most BSDs.
.SH BUGS
The glibc 2.3.2 implementation of this function is broken:
it overwrites memory when the actual number of groups is larger than
-.RI * ngroups .
+.IR *ngroups .
.SH EXAMPLE
.nf
/* This crashes with glibc 2.3.2 */
diff --git a/man3/getmntent.3 b/man3/getmntent.3
index fdd27f7c7b..27f2e9d78a 100644
--- a/man3/getmntent.3
+++ b/man3/getmntent.3
@@ -107,7 +107,7 @@ The reentrant
function is similar to
.BR getmntent (),
but stores the \fIstruct mount\fP in the provided
-.RI * mntbuf
+.I *mntbuf
and stores the strings pointed to by the entries in that struct
in the provided array
.I buf
diff --git a/man3/getpwent_r.3 b/man3/getpwent_r.3
index 83f7ce9302..cb594da370 100644
--- a/man3/getpwent_r.3
+++ b/man3/getpwent_r.3
@@ -94,15 +94,15 @@ of size
that can hold additional strings.
The result of these functions, the \fIstruct passwd\fP read from the stream,
is stored in the provided buffer
-.RI * pwbuf ,
+.IR *pwbuf ,
and a pointer to this \fIstruct passwd\fP is returned in
-.RI * pwbufp .
+.IR *pwbufp .
.SH "RETURN VALUE"
On success, these functions return 0 and
-.RI * pwbufp
+.I *pwbufp
is a pointer to the \fIstruct passwd\fP.
On error, these functions return an error value and
-.RI * pwbufp
+.I *pwbufp
is NULL.
.SH ERRORS
.TP
diff --git a/man3/getpwnam.3 b/man3/getpwnam.3
index c5d2b0ec46..7506a65d43 100644
--- a/man3/getpwnam.3
+++ b/man3/getpwnam.3
@@ -95,7 +95,7 @@ of size
.IR buflen .
A pointer to the result (in case of success) or NULL (in case no entry
was found or an error occurred) is stored in
-.RI * pwbufp .
+.IR *pwbufp .
.PP
The \fIpasswd\fP structure is defined in \fI<pwd.h>\fP as follows:
.sp
diff --git a/man3/getspnam.3 b/man3/getspnam.3
index 4587753007..a5266b54d9 100644
--- a/man3/getspnam.3
+++ b/man3/getspnam.3
@@ -132,7 +132,7 @@ The
.BR putspent ()
function writes the contents of the supplied struct
.I spwd
-.RI * p
+.I *p
as a text line in the shadow password file format to the stream
.IR fp .
String entries with value NULL and numerical entries with value \-1
@@ -173,7 +173,7 @@ of size
.IR buflen .
A pointer to the result (in case of success) or NULL (in case no entry
was found or an error occurred) is stored in
-.RI * spbufp .
+.IR *spbufp .
.LP
The functions
.BR getspent_r (),
diff --git a/man3/getsubopt.3 b/man3/getsubopt.3
index 69b391c660..61fd3b5154 100644
--- a/man3/getsubopt.3
+++ b/man3/getsubopt.3
@@ -75,16 +75,16 @@ If the name of the suboption matches a known name from
and a value string was found,
.BR getsubopt ()
sets
-.RI * valuep
+.I *valuep
to the address of that string.
The first comma in
.I optionp
is overwritten with a null byte, so
-.RI * valuep
+.I *valuep
is precisely the "value string" for that suboption.
If the suboption is recognized, but no value string was found,
-.RI * valuep
+.I *valuep
is set to NULL.
When
@@ -101,13 +101,13 @@ is recognized,
returns the index of the matching suboption element in
.IR tokens .
Otherwise, \-1 is returned and
-.RI * valuep
+.I *valuep
is the entire
.IB name [= value ]
string.
Since
-.RI * optionp
+.I *optionp
is changed, the first suboption before the call to
.BR getsubopt ()
is not (necessarily) the same as the first suboption after
@@ -119,7 +119,7 @@ POSIX.1-2001.
Since
.BR getsubopt ()
overwrites any commas it finds in the string
-.RI * optionp ,
+.IR *optionp ,
that string must be writable; it cannot be a string constant.
.SH EXAMPLE
The following program expects suboptions following a "\-o" option.
diff --git a/man3/perror.3 b/man3/perror.3
index e666130832..dae3f391d6 100644
--- a/man3/perror.3
+++ b/man3/perror.3
@@ -59,7 +59,7 @@ error encountered during a call to a system or library function.
First (if
.I s
is not NULL and
-.RI * s
+.I *s
is not a null byte ('\\0')) the argument string
.I s
is printed, followed by a colon and a blank.
diff --git a/man3/termios.3 b/man3/termios.3
index db6e7783de..4245ba1442 100644
--- a/man3/termios.3
+++ b/man3/termios.3
@@ -95,11 +95,11 @@ This structure contains at least the following members:
.sp
.in +4n
.nf
-tcflag_t \fIc_iflag\fP; /* input modes */
-tcflag_t \fIc_oflag\fP; /* output modes */
-tcflag_t \fIc_cflag\fP; /* control modes */
-tcflag_t \fIc_lflag\fP; /* local modes */
-cc_t \fIc_cc\fP[\fBNCCS\fP]; /* control chars */
+tcflag_t c_iflag; /* input modes */
+tcflag_t c_oflag; /* output modes */
+tcflag_t c_cflag; /* control modes */
+tcflag_t c_lflag; /* local modes */
+cc_t c_cc[NCCS]; /* control chars */
.fi
.in
.PP