summaryrefslogtreecommitdiffstats
path: root/man3/sscanf.3
diff options
context:
space:
mode:
Diffstat (limited to 'man3/sscanf.3')
-rw-r--r--man3/sscanf.332
1 files changed, 16 insertions, 16 deletions
diff --git a/man3/sscanf.3 b/man3/sscanf.3
index d488cd861..5b6390c4c 100644
--- a/man3/sscanf.3
+++ b/man3/sscanf.3
@@ -43,7 +43,7 @@ Standard C library
.P
.RS -4
Feature Test Macro Requirements for glibc (see
-.BR feature_test_macros (7)):
+.MR feature_test_macros 7 ):
.RE
.P
.BR vsscanf ():
@@ -87,7 +87,7 @@ read their input from the string pointed to by
The
.BR vsscanf ()
function is analogous to
-.BR vsprintf (3).
+.MR vsprintf 3 .
.P
The
.I format
@@ -107,7 +107,7 @@ A directive is one of the following:
.TP
\[bu]
A sequence of white-space characters (space, tab, newline, etc.; see
-.BR isspace (3)).
+.MR isspace 3 ).
This directive matches any amount of white space,
including none, in the input.
.TP
@@ -152,7 +152,7 @@ separators as defined by the
.B LC_NUMERIC
category of the current locale.
(See
-.BR setlocale (3).)
+.MR setlocale 3 .)
The quote character may precede or follow the \[aq]*\[aq]
assignment-suppression character.
.TP
@@ -172,7 +172,7 @@ argument, which should be a pointer to a
.I "char\ *"
variable (this variable does not need to be initialized before the call).
The caller should subsequently
-.BR free (3)
+.MR free 3
this buffer when it is no longer required.
.TP
\[bu]
@@ -483,7 +483,7 @@ circumflex, in) set or when the field width runs out.
Matches a pointer value (as printed by
.B %p
in
-.BR printf (3));
+.MR printf 3 );
the next pointer must be a pointer to a pointer to
.IR void .
.TP
@@ -530,7 +530,7 @@ is NULL.
Out of memory.
.SH ATTRIBUTES
For an explanation of the terms used in this section, see
-.BR attributes (7).
+.MR attributes 7 .
.TS
allbox;
lbx lb lb
@@ -648,7 +648,7 @@ current implementations are not safe from that bug,
so it is not recommended to use them.
Instead,
programs should use functions such as
-.BR strtol (3)
+.MR strtol 3
to parse numeric input.
Alternatively,
mitigate it by specifying a maximum field width.
@@ -695,7 +695,7 @@ as a length modifier (thus
or
\fB%m[\fP\fIrange\fP\fB]\fP).
The caller must
-.BR free (3)
+.MR free 3
the returned string, as in the following example:
.P
.in +4n
@@ -717,14 +717,14 @@ if (n == 1) {
.in
.P
As shown in the above example, it is necessary to call
-.BR free (3)
+.MR free 3
only if the
.BR sscanf ()
call successfully read a string.
.SH SEE ALSO
-.BR getc (3),
-.BR printf (3),
-.BR setlocale (3),
-.BR strtod (3),
-.BR strtol (3),
-.BR strtoul (3)
+.MR getc 3 ,
+.MR printf 3 ,
+.MR setlocale 3 ,
+.MR strtod 3 ,
+.MR strtol 3 ,
+.MR strtoul 3