diff options
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r-- | lib/libc/stdio/fgets.3 | 2 | ||||
-rw-r--r-- | lib/libc/stdio/fopen.3 | 5 | ||||
-rw-r--r-- | lib/libc/stdio/fputs.3 | 2 | ||||
-rw-r--r-- | lib/libc/stdio/getwc.3 | 2 | ||||
-rw-r--r-- | lib/libc/stdio/printf.3 | 2 | ||||
-rw-r--r-- | lib/libc/stdio/putc.3 | 2 | ||||
-rw-r--r-- | lib/libc/stdio/putwc.3 | 2 | ||||
-rw-r--r-- | lib/libc/stdio/scanf.3 | 2 | ||||
-rw-r--r-- | lib/libc/stdio/setbuf.3 | 7 | ||||
-rw-r--r-- | lib/libc/stdio/stdio.3 | 4 | ||||
-rw-r--r-- | lib/libc/stdio/wprintf.3 | 2 | ||||
-rw-r--r-- | lib/libc/stdio/wscanf.3 | 2 |
12 files changed, 17 insertions, 17 deletions
diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3 index 7a63039..fee8c92 100644 --- a/lib/libc/stdio/fgets.3 +++ b/lib/libc/stdio/fgets.3 @@ -78,7 +78,7 @@ with an infinite and a .Fa stream of -.Em stdin , +.Dv stdin , except that the newline character (if any) is not stored in the string. It is the caller's responsibility to ensure that the input line, if any, is sufficiently short to fit in the string. diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3 index a4614d7..502a049 100644 --- a/lib/libc/stdio/fopen.3 +++ b/lib/libc/stdio/fopen.3 @@ -164,10 +164,9 @@ The primary use of the function is to change the file associated with a standard text stream -.Pf ( Em stderr , -.Em stdin , +.Dv ( stderr , stdin , or -.Em stdout ) . +.Dv stdout ) . .Sh RETURN VALUES Upon successful completion .Fn fopen , diff --git a/lib/libc/stdio/fputs.3 b/lib/libc/stdio/fputs.3 index 12486bd..c51213d 100644 --- a/lib/libc/stdio/fputs.3 +++ b/lib/libc/stdio/fputs.3 @@ -68,7 +68,7 @@ writes the string .Fa str , and a terminating newline character, to the stream -.Em stdout . +.Dv stdout . .Sh RETURN VALUES The .Fn fputs diff --git a/lib/libc/stdio/getwc.3 b/lib/libc/stdio/getwc.3 index aea2e84..e308870 100644 --- a/lib/libc/stdio/getwc.3 +++ b/lib/libc/stdio/getwc.3 @@ -78,7 +78,7 @@ function is equivalent to .Fn getwc with the argument -.Em stdin . +.Dv stdin . .Sh RETURN VALUES If successful, these routines return the next wide-character from the diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index d17f27d..3f8e640 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -78,7 +78,7 @@ as described below. and .Fn vprintf write output to -.Pa stdout , +.Dv stdout , the standard output stream; .Fn fprintf and diff --git a/lib/libc/stdio/putc.3 b/lib/libc/stdio/putc.3 index 2c7439a..31bc57f 100644 --- a/lib/libc/stdio/putc.3 +++ b/lib/libc/stdio/putc.3 @@ -84,7 +84,7 @@ macro is identical to .Fn putc with an output stream of -.Em stdout . +.Dv stdout . .Pp The .Fn putw diff --git a/lib/libc/stdio/putwc.3 b/lib/libc/stdio/putwc.3 index cbb3cd0..b1c15c2 100644 --- a/lib/libc/stdio/putwc.3 +++ b/lib/libc/stdio/putwc.3 @@ -78,7 +78,7 @@ function is identical to .Fn putwc with an output stream of -.Em stdout . +.Dv stdout . .Sh RETURN VALUES The .Fn fputwc , diff --git a/lib/libc/stdio/scanf.3 b/lib/libc/stdio/scanf.3 index ea99c0e..5067e29 100644 --- a/lib/libc/stdio/scanf.3 +++ b/lib/libc/stdio/scanf.3 @@ -80,7 +80,7 @@ The .Fn scanf function reads input from the standard input stream -.Em stdin , +.Dv stdin , .Fn fscanf reads input from the stream pointer .Fa stream , diff --git a/lib/libc/stdio/setbuf.3 b/lib/libc/stdio/setbuf.3 index cb16fa3..d10b5bc 100644 --- a/lib/libc/stdio/setbuf.3 +++ b/lib/libc/stdio/setbuf.3 @@ -65,7 +65,8 @@ destination file or terminal as soon as written; when it is block buffered many characters are saved up and written as a block; when it is line buffered characters are saved up until a newline is output or input is read from any stream attached to a terminal device -(typically stdin). +(typically +.Dv stdin ) . The function .Xr fflush 3 may be used to force the block out early. @@ -81,10 +82,10 @@ is called, and an optimally-sized buffer is obtained. If a stream refers to a terminal (as -.Em stdout +.Dv stdout normally does) it is line buffered. The standard error stream -.Em stderr +.Dv stderr is always unbuffered. .Pp The diff --git a/lib/libc/stdio/stdio.3 b/lib/libc/stdio/stdio.3 index d1e53c3..637f3c1 100644 --- a/lib/libc/stdio/stdio.3 +++ b/lib/libc/stdio/stdio.3 @@ -127,9 +127,9 @@ opened explicitly: (for writing diagnostic output). .El These streams are abbreviated -.Em stdin , stdout +.Dv stdin , stdout and -.Em stderr . +.Dv stderr . Initially, the standard error stream is unbuffered; the standard input and output streams are fully buffered if and only if the streams do not refer to diff --git a/lib/libc/stdio/wprintf.3 b/lib/libc/stdio/wprintf.3 index 9d2874a..150ed5d 100644 --- a/lib/libc/stdio/wprintf.3 +++ b/lib/libc/stdio/wprintf.3 @@ -74,7 +74,7 @@ and .Fn vwprintf functions write output to -.Pa stdout , +.Dv stdout , the standard output stream; .Fn fwprintf and diff --git a/lib/libc/stdio/wscanf.3 b/lib/libc/stdio/wscanf.3 index bb432ad..e552246 100644 --- a/lib/libc/stdio/wscanf.3 +++ b/lib/libc/stdio/wscanf.3 @@ -82,7 +82,7 @@ The .Fn wscanf function reads input from the standard input stream -.Em stdin , +.Dv stdin , .Fn fwscanf reads input from the stream pointer .Fa stream , |