diff options
Diffstat (limited to 'lib/libc/stdio')
| -rw-r--r-- | lib/libc/stdio/fclose.3 | 2 | ||||
| -rw-r--r-- | lib/libc/stdio/ferror.3 | 2 | ||||
| -rw-r--r-- | lib/libc/stdio/fflush.3 | 2 | ||||
| -rw-r--r-- | lib/libc/stdio/fgets.3 | 4 | ||||
| -rw-r--r-- | lib/libc/stdio/fopen.3 | 12 | ||||
| -rw-r--r-- | lib/libc/stdio/fputs.3 | 2 | ||||
| -rw-r--r-- | lib/libc/stdio/fread.3 | 2 | ||||
| -rw-r--r-- | lib/libc/stdio/fseek.3 | 2 | ||||
| -rw-r--r-- | lib/libc/stdio/getc.3 | 2 | ||||
| -rw-r--r-- | lib/libc/stdio/mktemp.3 | 2 | ||||
| -rw-r--r-- | lib/libc/stdio/printf.3 | 4 | ||||
| -rw-r--r-- | lib/libc/stdio/putc.3 | 2 | ||||
| -rw-r--r-- | lib/libc/stdio/remove.3 | 2 | ||||
| -rw-r--r-- | lib/libc/stdio/scanf.3 | 6 | ||||
| -rw-r--r-- | lib/libc/stdio/setbuf.3 | 2 | ||||
| -rw-r--r-- | lib/libc/stdio/stdio.3 | 12 | ||||
| -rw-r--r-- | lib/libc/stdio/tmpnam.3 | 2 | ||||
| -rw-r--r-- | lib/libc/stdio/ungetc.3 | 2 |
18 files changed, 34 insertions, 30 deletions
diff --git a/lib/libc/stdio/fclose.3 b/lib/libc/stdio/fclose.3 index 26ff25dad2a5..04cae30877f1 100644 --- a/lib/libc/stdio/fclose.3 +++ b/lib/libc/stdio/fclose.3 @@ -96,4 +96,4 @@ The .Fn fclose function conforms to -.St -ansiC . +.St -isoC . diff --git a/lib/libc/stdio/ferror.3 b/lib/libc/stdio/ferror.3 index d79686d460e4..9ccad39aa6e3 100644 --- a/lib/libc/stdio/ferror.3 +++ b/lib/libc/stdio/ferror.3 @@ -100,4 +100,4 @@ The functions and .Fn ferror conform to -.St -ansiC . +.St -isoC . diff --git a/lib/libc/stdio/fflush.3 b/lib/libc/stdio/fflush.3 index 57c589f97699..73678a80cf91 100644 --- a/lib/libc/stdio/fflush.3 +++ b/lib/libc/stdio/fflush.3 @@ -110,4 +110,4 @@ The .Fn fflush function conforms to -.St -ansiC . +.St -isoC . diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3 index dda95dc96b95..c10a65757771 100644 --- a/lib/libc/stdio/fgets.3 +++ b/lib/libc/stdio/fgets.3 @@ -143,7 +143,7 @@ The functions and .Fn gets conform to -.St -ansiC . +.St -isoC . .Sh BUGS Since it is usually impossible to ensure that the next input line is less than some arbitrary length, and because overflowing the @@ -156,4 +156,4 @@ The .Fn gets function exists purely to conform to -.St -ansiC . +.St -isoC . diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3 index d44ad41984ea..ffa699d3defb 100644 --- a/lib/libc/stdio/fopen.3 +++ b/lib/libc/stdio/fopen.3 @@ -85,13 +85,17 @@ Open for writing. The file is created if it does not exist. The stream is positioned at the end of the file. Subsequent writes to the file will always end up at the then current -end of file, irrespective of intervening fseek()s. +end of file, irrespective of any intervening +.Xr fseek 3 +or similar. .It Dq Li a+ Open for reading and writing. The file is created if it does not exist. The stream is positioned at the end of the file. Subsequent writes to the file will always end up at the then current -end of file, irrespective of intervening fseek()s. +end of file, irrespective of any intervening +.Xr fseek 3 +or similar. .El .Pp The @@ -100,7 +104,7 @@ string can also include the letter ``b'' either as a third character or as a character between the characters in any of the two-character strings described above. This is strictly for compatibility with -.St -ansiC +.St -isoC and has no effect; the ``b'' is ignored. .Pp Any created files will have mode @@ -240,7 +244,7 @@ and .Fn freopen functions conform to -.St -ansiC . +.St -isoC . The .Fn fdopen function diff --git a/lib/libc/stdio/fputs.3 b/lib/libc/stdio/fputs.3 index 34c4ad191ef2..6d2b1f96fb5d 100644 --- a/lib/libc/stdio/fputs.3 +++ b/lib/libc/stdio/fputs.3 @@ -107,4 +107,4 @@ The functions and .Fn puts conform to -.St -ansiC . +.St -isoC . diff --git a/lib/libc/stdio/fread.3 b/lib/libc/stdio/fread.3 index 16e7da3d8d97..2a2d10b7fdff 100644 --- a/lib/libc/stdio/fread.3 +++ b/lib/libc/stdio/fread.3 @@ -106,4 +106,4 @@ The functions and .Fn fwrite conform to -.St -ansiC . +.St -isoC . diff --git a/lib/libc/stdio/fseek.3 b/lib/libc/stdio/fseek.3 index bd09b84222e9..f12e0471d03d 100644 --- a/lib/libc/stdio/fseek.3 +++ b/lib/libc/stdio/fseek.3 @@ -222,7 +222,7 @@ and .Fn rewind functions conform to -.St -ansiC . +.St -isoC . .Pp The .Fn fseeko diff --git a/lib/libc/stdio/getc.3 b/lib/libc/stdio/getc.3 index b6e32efe5c42..bd099abd343c 100644 --- a/lib/libc/stdio/getc.3 +++ b/lib/libc/stdio/getc.3 @@ -121,7 +121,7 @@ and .Fn getchar functions conform to -.St -ansiC . +.St -isoC . .Sh BUGS Since .Dv EOF diff --git a/lib/libc/stdio/mktemp.3 b/lib/libc/stdio/mktemp.3 index 0136fe70df2f..1f79e4f4eb0d 100644 --- a/lib/libc/stdio/mktemp.3 +++ b/lib/libc/stdio/mktemp.3 @@ -173,7 +173,7 @@ passes in a read-only string to or .Fn mkdtemp . This is common with programs that were developed before -.St -ansiC +.St -isoC compilers were common. For example, calling .Fn mkstemp diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3 index 308a1b49cafb..88682c8b40d4 100644 --- a/lib/libc/stdio/printf.3 +++ b/lib/libc/stdio/printf.3 @@ -86,7 +86,7 @@ as described below. and .Fn vprintf write output to -.Em stdout, +.Em stdout , the standard output stream; .Fn fprintf and @@ -608,7 +608,7 @@ and .Fn vsprintf functions conform to -.St -ansiC . +.St -isoC . .Sh HISTORY The functions .Fn asprintf diff --git a/lib/libc/stdio/putc.3 b/lib/libc/stdio/putc.3 index bb82d582de9a..7f180b42bf04 100644 --- a/lib/libc/stdio/putc.3 +++ b/lib/libc/stdio/putc.3 @@ -123,7 +123,7 @@ The functions and .Fn putchar , conform to -.St -ansiC . +.St -isoC . A function .Fn putw function appeared in diff --git a/lib/libc/stdio/remove.3 b/lib/libc/stdio/remove.3 index 0ba144a0aed2..6627afa802b6 100644 --- a/lib/libc/stdio/remove.3 +++ b/lib/libc/stdio/remove.3 @@ -87,6 +87,6 @@ or The .Fn remove function conforms to -.St -ansiC +.St -isoC and .St -xpg4.2 . diff --git a/lib/libc/stdio/scanf.3 b/lib/libc/stdio/scanf.3 index cae4c04782d0..3f7b1594ab08 100644 --- a/lib/libc/stdio/scanf.3 +++ b/lib/libc/stdio/scanf.3 @@ -247,7 +247,7 @@ the next pointer must be a pointer to Equivalent to .Cm lx ; this violates the -.St -ansiC , +.St -isoC , but is backwards compatible with previous .Ux systems. @@ -265,7 +265,7 @@ Equivalent to Equivalent to .Cm lf ; this violates the -.St -ansiC , +.St -isoC , but is backwards compatible with previous .Ux systems. @@ -416,7 +416,7 @@ The functions and .Fn sscanf conform to -.St -ansiC . +.St -isoC . .Sh HISTORY The functions .Fn vscanf , diff --git a/lib/libc/stdio/setbuf.3 b/lib/libc/stdio/setbuf.3 index 7b1b63dc3319..e9fa07972b6f 100644 --- a/lib/libc/stdio/setbuf.3 +++ b/lib/libc/stdio/setbuf.3 @@ -186,7 +186,7 @@ and .Fn setvbuf functions conform to -.St -ansiC . +.St -isoC . .Sh BUGS The .Fn setbuffer diff --git a/lib/libc/stdio/stdio.3 b/lib/libc/stdio/stdio.3 index b4cd7dacf676..10d79ba8d6e7 100644 --- a/lib/libc/stdio/stdio.3 +++ b/lib/libc/stdio/stdio.3 @@ -42,9 +42,9 @@ .Lb libc .Sh SYNOPSIS .Fd #include <stdio.h> -.Fd FILE *stdin; -.Fd FILE *stdout; -.Fd FILE *stderr; +.Vt FILE *stdin ; +.Vt FILE *stdout ; +.Vt FILE *stderr ; .Sh DESCRIPTION The standard .Tn I/O @@ -179,9 +179,9 @@ without first removing their current definitions with .Dv FOPEN_MAX , .Dv L_cuserid , .Dv L_ctermid , -.Dv L_tmpnam, +.Dv L_tmpnam , .Dv NULL , -.Dv P_tmpdir, +.Dv P_tmpdir , .Dv SEEK_CUR , .Dv SEEK_END , .Dv SEEK_SET , @@ -225,7 +225,7 @@ library and system functions, especially The .Nm library conforms to -.St -ansiC . +.St -isoC . .Sh LIST OF FUNCTIONS .Bl -column "Description" .It Sy "Function Description" diff --git a/lib/libc/stdio/tmpnam.3 b/lib/libc/stdio/tmpnam.3 index 3a14e9c24cb0..ed71236223de 100644 --- a/lib/libc/stdio/tmpnam.3 +++ b/lib/libc/stdio/tmpnam.3 @@ -185,7 +185,7 @@ and .Fn tmpnam functions conform to -.St -ansiC . +.St -isoC . .Sh BUGS These interfaces are provided for System V and .Tn ANSI diff --git a/lib/libc/stdio/ungetc.3 b/lib/libc/stdio/ungetc.3 index 2fec98b6b6d3..f3de89d9315d 100644 --- a/lib/libc/stdio/ungetc.3 +++ b/lib/libc/stdio/ungetc.3 @@ -95,4 +95,4 @@ the operation will fail and the stream will remain unchanged. The .Fn ungetc function conforms to -.St -ansiC . +.St -isoC . |
