summaryrefslogtreecommitdiff
path: root/usr/src/man/man3c/printf.3c
diff options
context:
space:
mode:
authorRichard Lowe <richlowe@richlowe.net>2022-02-01 16:25:34 -0600
committerRichard Lowe <richlowe@richlowe.net>2022-02-18 15:32:41 -0600
commitbb788c55f7450a1360e9752bf81c3a3932cc8018 (patch)
tree77443122971496a73748e2d9722913303ab61b55 /usr/src/man/man3c/printf.3c
parent7d5a0c32ad2a16518949e2843f208bf257e5cf79 (diff)
downloadillumos-joyent-bb788c55f7450a1360e9752bf81c3a3932cc8018.tar.gz
manual: fix up free-form normative manual references in the manual
Diffstat (limited to 'usr/src/man/man3c/printf.3c')
-rw-r--r--usr/src/man/man3c/printf.3c14
1 files changed, 7 insertions, 7 deletions
diff --git a/usr/src/man/man3c/printf.3c b/usr/src/man/man3c/printf.3c
index add9c37bb9..8872474672 100644
--- a/usr/src/man/man3c/printf.3c
+++ b/usr/src/man/man3c/printf.3c
@@ -175,7 +175,7 @@ described below, is given to the field width. The field width takes the form of
an asterisk (*), described below, or a decimal integer.
.sp
If the conversion specifier is \fBs\fR, a standard-conforming application (see
-\fBstandards\fR(5)) interprets the field width as the minimum number of bytes
+\fBstandards\fR(7)) interprets the field width as the minimum number of bytes
to be printed; an application that is not standard-conforming interprets the
field width as the minimum number of columns of screen display. For an
application that is not standard-conforming, \fB%10s\fR means if the converted
@@ -200,7 +200,7 @@ decimal digit string, where a null digit string is treated as 0. If a precision
appears with any other conversion specifier, the behavior is undefined.
.sp
If the conversion specifier is \fBs\fR or \fBS\fR, a standard-conforming
-application (see \fBstandards\fR(5)) interprets the precision as the maximum
+application (see \fBstandards\fR(7)) interprets the precision as the maximum
number of bytes to be written; an application that is not standard-conforming
interprets the precision as the maximum number of columns of screen display.
For an application that is not standard-conforming, \fB%.5s\fR would print only
@@ -690,7 +690,7 @@ the resulting wide character is printed.
.RS 8n
The argument must be a pointer to an array of \fBchar\fR. Bytes from the array
are written up to (but not including) any terminating null byte. If a precision
-is specified, a standard-conforming application (see \fBstandards\fR(5)) will
+is specified, a standard-conforming application (see \fBstandards\fR(7)) will
write only the number of bytes specified by precision; an application that is
not standard-conforming will write only the portion of the string that will
display in the number of columns of screen display specified by precision. If
@@ -966,7 +966,7 @@ the numeric constant zero (0). Note that the octal number does not include the
zero prefix as it would for a normal octal constant. To specify a hexadecimal
number, omit the zero so that the prefix is an 'x' (uppercase 'X' is not
allowed in this context). Support for hexadecimal sequences is an ANSI
-extension. See \fBstandards\fR(5).
+extension. See \fBstandards\fR(7).
.SH EXAMPLES
\fBExample 1 \fRTo print the language-independent date and time format, the
following statement could be used:
@@ -1053,7 +1053,7 @@ characters wide:
.in -2
.SH ATTRIBUTES
-See \fBattributes\fR(5) for descriptions of the following attributes:
+See \fBattributes\fR(7) for descriptions of the following attributes:
.sp
.sp
@@ -1079,7 +1079,7 @@ long as \fBsetlocale\fR(3C) is not being called to change the locale. The
\fBsprintf()\fR and \fBsnprintf()\fR functions are Async-Signal-Safe.
.sp
.LP
-See \fBstandards\fR(5) for the standards conformance of \fBprintf()\fR,
+See \fBstandards\fR(7) for the standards conformance of \fBprintf()\fR,
\fBfprintf()\fR, \fBsprintf()\fR, and \fBsnprintf()\fR. The \fBasprintf()\fR
function is modeled on the one that appears in the FreeBSD, NetBSD, and GNU C
libraries.
@@ -1088,7 +1088,7 @@ libraries.
\fBexit\fR(3C), \fBfclose\fR(3C), \fBfflush\fR(3C), \fBfputwc\fR(3C),
\fBfree\fR(3C), \fBmalloc\fR(3C), \fBputc\fR(3C), \fBscanf\fR(3C),
\fBsetlocale\fR(3C), \fBstdio\fR(3C), \fBvprintf\fR(3C), \fBwcstombs\fR(3C),
-\fBwctomb\fR(3C), \fBattributes\fR(5), \fBenviron\fR(5), \fBstandards\fR(5)
+\fBwctomb\fR(3C), \fBattributes\fR(7), \fBenviron\fR(7), \fBstandards\fR(7)
.SH NOTES
If the \fBj\fR length modifier is used, 32-bit applications that were compiled
using \fBc89\fR on releases prior to Solaris 10 will experience undefined