remove subsection designations
authorKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 2 Apr 1989 06:15:04 +0000 (22:15 -0800)
committerKeith Bostic <bostic@ucbvax.Berkeley.EDU>
Sun, 2 Apr 1989 06:15:04 +0000 (22:15 -0800)
SCCS-vsn: lib/libc/stdio/ferror.3 6.4
SCCS-vsn: lib/libc/stdio/fopen.3 6.4
SCCS-vsn: lib/libc/stdio/fread.3 6.2
SCCS-vsn: lib/libc/stdio/fseek.3 6.5
SCCS-vsn: lib/libc/stdio/getc.3 6.3
SCCS-vsn: lib/libc/stdio/fgets.3 6.2
SCCS-vsn: lib/libc/stdio/gets.3 6.2
SCCS-vsn: lib/libc/stdio/printf.3 6.6
SCCS-vsn: lib/libc/stdio/putc.3 6.3
SCCS-vsn: lib/libc/stdio/fputs.3 6.2
SCCS-vsn: lib/libc/stdio/scanf.3 6.2
SCCS-vsn: lib/libc/stdio/setbuf.3 6.4
SCCS-vsn: lib/libc/stdio/ungetc.3 6.2

13 files changed:
usr/src/lib/libc/stdio/ferror.3
usr/src/lib/libc/stdio/fgets.3
usr/src/lib/libc/stdio/fopen.3
usr/src/lib/libc/stdio/fputs.3
usr/src/lib/libc/stdio/fread.3
usr/src/lib/libc/stdio/fseek.3
usr/src/lib/libc/stdio/getc.3
usr/src/lib/libc/stdio/gets.3
usr/src/lib/libc/stdio/printf.3
usr/src/lib/libc/stdio/putc.3
usr/src/lib/libc/stdio/scanf.3
usr/src/lib/libc/stdio/setbuf.3
usr/src/lib/libc/stdio/ungetc.3

index 99573f7..d329b2d 100644 (file)
@@ -2,9 +2,9 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)ferror.3    6.3 (Berkeley) %G%
+.\"    @(#)ferror.3    6.4 (Berkeley) %G%
 .\"
 .\"
-.TH FERROR 3S  ""
+.TH FERROR 3  ""
 .UC 4
 .SH NAME
 ferror, feof, clearerr, fileno \- stream status inquiries
 .UC 4
 .SH NAME
 ferror, feof, clearerr, fileno \- stream status inquiries
@@ -69,5 +69,4 @@ Currently all of these functions
 are implemented as macros;
 they cannot be redeclared.
 .SH "SEE ALSO"
 are implemented as macros;
 they cannot be redeclared.
 .SH "SEE ALSO"
-fopen(3S),
-open(2)
+open(2), fopen(3)
index 20d7372..2707b23 100644 (file)
@@ -1,6 +1,6 @@
-.\"    @(#)fgets.3     6.1 (Berkeley) %G%
+.\"    @(#)fgets.3     6.2 (Berkeley) %G%
 .\"
 .\"
-.TH GETS 3S  ""
+.TH GETS 3  ""
 .AT 3
 .SH NAME
 gets, fgets \- get a string from a stream
 .AT 3
 .SH NAME
 gets, fgets \- get a string from a stream
@@ -46,11 +46,11 @@ is followed by a null character.
 .I Fgets
 returns its first argument.
 .SH "SEE ALSO"
 .I Fgets
 returns its first argument.
 .SH "SEE ALSO"
-puts(3S),
-getc(3S),
-scanf(3S),
-fread(3S),
-ferror(3S)
+puts(3),
+getc(3),
+scanf(3),
+fread(3),
+ferror(3)
 .SH DIAGNOSTICS
 .I Gets
 and
 .SH DIAGNOSTICS
 .I Gets
 and
index 2a7ec69..30e8f6b 100644 (file)
@@ -2,9 +2,9 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)fopen.3     6.3 (Berkeley) %G%
+.\"    @(#)fopen.3     6.4 (Berkeley) %G%
 .\"
 .\"
-.TH FOPEN 3S  ""
+.TH FOPEN 3  ""
 .UC 4
 .SH NAME
 fopen, freopen, fdopen \- open a stream
 .UC 4
 .SH NAME
 fopen, freopen, fdopen \- open a stream
index ea0e1d8..8cf9dbc 100644 (file)
@@ -1,6 +1,6 @@
-.\"    @(#)fputs.3     6.1 (Berkeley) %G%
+.\"    @(#)fputs.3     6.2 (Berkeley) %G%
 .\"
 .\"
-.TH PUTS 3S  ""
+.TH PUTS 3  ""
 .AT 3
 .SH NAME
 puts, fputs \- put a string on a stream
 .AT 3
 .SH NAME
 puts, fputs \- put a string on a stream
@@ -35,13 +35,13 @@ to the named output
 .PP
 Neither routine copies the terminal null character.
 .SH "SEE ALSO"
 .PP
 Neither routine copies the terminal null character.
 .SH "SEE ALSO"
-fopen(3S),
-gets(3S),
-putc(3S),
-printf(3S),
-ferror(3S)
+fopen(3),
+gets(3),
+putc(3),
+printf(3),
+ferror(3)
 .br
 .br
-fread(3S) for
+fread(3) for
 .I fwrite
 .SH BUGS
 .I Puts
 .I fwrite
 .SH BUGS
 .I Puts
index 1931c8b..112260d 100644 (file)
@@ -2,9 +2,9 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)fread.3     6.1 (Berkeley) %G%
+.\"    @(#)fread.3     6.2 (Berkeley) %G%
 .\"
 .\"
-.TH FREAD 3S  ""
+.TH FREAD 3  ""
 .UC 4
 .SH NAME
 fread, fwrite \- buffered binary input/output
 .UC 4
 .SH NAME
 fread, fwrite \- buffered binary input/output
@@ -56,13 +56,13 @@ It returns the number of items actually written.
 .SH "SEE ALSO"
 read(2),
 write(2),
 .SH "SEE ALSO"
 read(2),
 write(2),
-fopen(3S),
-getc(3S),
-putc(3S),
-gets(3S),
-puts(3S),
-printf(3S),
-scanf(3S)
+fopen(3),
+getc(3),
+putc(3),
+gets(3),
+puts(3),
+printf(3),
+scanf(3)
 .SH DIAGNOSTICS
 .I Fread
 and
 .SH DIAGNOSTICS
 .I Fread
 and
index 467738a..cd07490 100644 (file)
@@ -1,6 +1,6 @@
-.\"    @(#)fseek.3     6.4 (Berkeley) %G%
+.\"    @(#)fseek.3     6.5 (Berkeley) %G%
 .\"
 .\"
-.TH FSEEK 3S  ""
+.TH FSEEK 3  ""
 .AT 3
 .SH NAME
 fseek, ftell, rewind \- reposition a stream
 .AT 3
 .SH NAME
 fseek, ftell, rewind \- reposition a stream
@@ -37,7 +37,7 @@ has the value 0, 1, or 2.
 .PP
 .I Fseek
 undoes any effects of
 .PP
 .I Fseek
 undoes any effects of
-.IR  ungetc (3S).
+.IR  ungetc (3).
 .PP
 .I Ftell
 returns the current value of the offset relative to the beginning
 .PP
 .I Ftell
 returns the current value of the offset relative to the beginning
@@ -56,7 +56,7 @@ is equivalent to
 0L, L_SET).
 .SH "SEE ALSO"
 lseek(2),
 0L, L_SET).
 .SH "SEE ALSO"
 lseek(2),
-fopen(3S)
+fopen(3)
 .SH DIAGNOSTICS
 .I Fseek
 returns \-1 for improper seeks, otherwise zero.
 .SH DIAGNOSTICS
 .I Fseek
 returns \-1 for improper seeks, otherwise zero.
index b9cc450..a909158 100644 (file)
@@ -1,6 +1,6 @@
-.\"    @(#)getc.3      6.2 (Berkeley) %G%
+.\"    @(#)getc.3      6.3 (Berkeley) %G%
 .\"
 .\"
-.TH GETC 3S  ""
+.TH GETC 3  ""
 .AT 3
 .SH NAME
 getc, getchar, fgetc, getw \- get character or word from stream
 .AT 3
 .SH NAME
 getc, getchar, fgetc, getw \- get character or word from stream
@@ -53,19 +53,19 @@ upon end of file or error, but since that is a good
 integer value,
 .I feof
 and
 integer value,
 .I feof
 and
-.IR  ferror (3S)
+.IR  ferror (3)
 should be used to check the success of
 .IR getw .
 .I Getw
 assumes no special alignment in the file.
 .SH "SEE ALSO"
 should be used to check the success of
 .IR getw .
 .I Getw
 assumes no special alignment in the file.
 .SH "SEE ALSO"
-clearerr(3S),
-fopen(3S),
-putc(3S),
-gets(3S),
-scanf(3S),
-fread(3S),
-ungetc(3S)
+clearerr(3),
+fopen(3),
+putc(3),
+gets(3),
+scanf(3),
+fread(3),
+ungetc(3)
 .SH DIAGNOSTICS
 These functions return the integer constant
 .SM
 .SH DIAGNOSTICS
 These functions return the integer constant
 .SM
@@ -78,7 +78,7 @@ even on a terminal,
 and all subsequent attempts to read will return
 .B EOF
 until the condition is cleared with
 and all subsequent attempts to read will return
 .B EOF
 until the condition is cleared with
-.IR clearerr (3S).
+.IR clearerr (3).
 .SH BUGS
 Because it is implemented as a macro,
 .I getc
 .SH BUGS
 Because it is implemented as a macro,
 .I getc
index 00edaf0..d663fd3 100644 (file)
@@ -1,6 +1,6 @@
-.\"    @(#)gets.3      6.1 (Berkeley) %G%
+.\"    @(#)gets.3      6.2 (Berkeley) %G%
 .\"
 .\"
-.TH GETS 3S  ""
+.TH GETS 3  ""
 .AT 3
 .SH NAME
 gets, fgets \- get a string from a stream
 .AT 3
 .SH NAME
 gets, fgets \- get a string from a stream
@@ -46,11 +46,11 @@ is followed by a null character.
 .I Fgets
 returns its first argument.
 .SH "SEE ALSO"
 .I Fgets
 returns its first argument.
 .SH "SEE ALSO"
-puts(3S),
-getc(3S),
-scanf(3S),
-fread(3S),
-ferror(3S)
+puts(3),
+getc(3),
+scanf(3),
+fread(3),
+ferror(3)
 .SH DIAGNOSTICS
 .I Gets
 and
 .SH DIAGNOSTICS
 .I Gets
 and
index 720fab1..6ef7772 100644 (file)
@@ -1,6 +1,6 @@
-.\"    @(#)printf.3    6.5 (Berkeley) %G%
+.\"    @(#)printf.3    6.6 (Berkeley) %G%
 .\"
 .\"
-.TH PRINTF 3S "October 22, 1987"
+.TH PRINTF 3 "October 22, 1987"
 .AT 3
 .SH NAME
 printf, fprintf, sprintf \- formatted output conversion
 .AT 3
 .SH NAME
 printf, fprintf, sprintf \- formatted output conversion
@@ -304,7 +304,7 @@ width exceeds the actual width.
 Characters generated by
 .I printf
 are printed as by 
 Characters generated by
 .I printf
 are printed as by 
-.IR putc (3S).
+.IR putc (3).
 .PP
 .SH "RETURN VALUE"
 The functions all return
 .PP
 .SH "RETURN VALUE"
 The functions all return
@@ -331,7 +331,7 @@ to 5 decimals:
 .IP
 printf("pi = %.5f", 4*atan(1.0));
 .SH "SEE ALSO"
 .IP
 printf("pi = %.5f", 4*atan(1.0));
 .SH "SEE ALSO"
-putc(3S), scanf(3S)
+putc(3), scanf(3)
 .SH BUGS
 The functions still supports \fI%D\fP, \fI%O\fP, and \fI%U\fP.  Do not
 use these formats, as they will be disappearing soon.
 .SH BUGS
 The functions still supports \fI%D\fP, \fI%O\fP, and \fI%U\fP.  Do not
 use these formats, as they will be disappearing soon.
index 4e0605d..c3dc6f9 100644 (file)
@@ -1,6 +1,6 @@
-.\"    @(#)putc.3      6.2 (Berkeley) %G%
+.\"    @(#)putc.3      6.3 (Berkeley) %G%
 .\"
 .\"
-.TH PUTC 3S  ""
+.TH PUTC 3  ""
 .AT 3
 .SH NAME
 putc, putchar, fputc, putw \- put character or word on a stream
 .AT 3
 .SH NAME
 putc, putchar, fputc, putw \- put character or word on a stream
@@ -56,18 +56,18 @@ It returns the word written.
 .I Putw
 neither assumes nor causes special alignment in the file.
 .SH "SEE ALSO"
 .I Putw
 neither assumes nor causes special alignment in the file.
 .SH "SEE ALSO"
-fopen(3S),
-fclose(3S),
-getc(3S),
-puts(3S),
-printf(3S),
-fread(3S)
+fopen(3),
+fclose(3),
+getc(3),
+puts(3),
+printf(3),
+fread(3)
 .SH DIAGNOSTICS
 These functions return the constant
 .SM
 .B EOF
 upon error.  Since this is a good integer,
 .SH DIAGNOSTICS
 These functions return the constant
 .SM
 .B EOF
 upon error.  Since this is a good integer,
-.IR  ferror (3S)
+.IR  ferror (3)
 should be used to detect 
 .I putw
 errors.
 should be used to detect 
 .I putw
 errors.
index bb5de73..481cf25 100644 (file)
@@ -1,6 +1,6 @@
-.\"    @(#)scanf.3     6.1 (Berkeley) %G%
+.\"    @(#)scanf.3     6.2 (Berkeley) %G%
 .\"
 .\"
-.TH SCANF 3S  ""
+.TH SCANF 3  ""
 .AT 3
 .SH NAME
 scanf, fscanf, sscanf \- formatted input conversion
 .AT 3
 .SH NAME
 scanf, fscanf, sscanf \- formatted input conversion
@@ -241,8 +241,8 @@ The next call to
 will return `a'.
 .SH "SEE ALSO"
 atof(3),
 will return `a'.
 .SH "SEE ALSO"
 atof(3),
-getc(3S),
-printf(3S)
+getc(3),
+printf(3)
 .SH DIAGNOSTICS
 The 
 .I scanf
 .SH DIAGNOSTICS
 The 
 .I scanf
index 87530a9..268fe5d 100644 (file)
@@ -2,9 +2,9 @@
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
 .\" All rights reserved.  The Berkeley software License Agreement
 .\" specifies the terms and conditions for redistribution.
 .\"
-.\"    @(#)setbuf.3    6.3 (Berkeley) %G%
+.\"    @(#)setbuf.3    6.4 (Berkeley) %G%
 .\"
 .\"
-.TH SETBUF 3S  ""
+.TH SETBUF 3  ""
 .UC 4
 .SH NAME
 setbuf, setbuffer, setlinebuf \- assign buffering to a stream
 .UC 4
 .SH NAME
 setbuf, setbuffer, setlinebuf \- assign buffering to a stream
@@ -44,7 +44,7 @@ when it is line buffered characters are saved up until a newline is
 encountered or input is read from stdin.
 .I Fflush
 (see 
 encountered or input is read from stdin.
 .I Fflush
 (see 
-.IR fclose (3S))
+.IR fclose (3))
 may be used to force the block out early.
 Normally all files are block buffered.
 A buffer is obtained from
 may be used to force the block out early.
 Normally all files are block buffered.
 A buffer is obtained from
@@ -52,7 +52,7 @@ A buffer is obtained from
 upon the first
 .I getc
 or
 upon the first
 .I getc
 or
-.IR  putc (3S)
+.IR  putc (3)
 on the file.
 If the standard stream
 .B stdout
 on the file.
 If the standard stream
 .B stdout
@@ -110,7 +110,7 @@ A file can be changed from unbuffered or line buffered to block buffered
 by using
 .I freopen
 (see
 by using
 .I freopen
 (see
-.IR fopen (3S)).
+.IR fopen (3)).
 A file can be changed from block buffered or line buffered to unbuffered
 by using
 .I freopen
 A file can be changed from block buffered or line buffered to unbuffered
 by using
 .I freopen
@@ -120,14 +120,14 @@ with a buffer argument of
 .SM
 .BR NULL .
 .SH "SEE ALSO"
 .SM
 .BR NULL .
 .SH "SEE ALSO"
-fopen(3S),
-getc(3S),
-putc(3S),
+fopen(3),
+getc(3),
+putc(3),
 malloc(3),
 malloc(3),
-fclose(3S),
-puts(3S),
-printf(3S),
-fread(3S)
+fclose(3),
+puts(3),
+printf(3),
+fread(3)
 .SH BUGS
 The
 .I setbuffer
 .SH BUGS
 The
 .I setbuffer
index 497ff32..1ba3820 100644 (file)
@@ -1,6 +1,6 @@
-.\"    @(#)ungetc.3    6.1 (Berkeley) %G%
+.\"    @(#)ungetc.3    6.2 (Berkeley) %G%
 .\"
 .\"
-.TH UNGETC 3S  ""
+.TH UNGETC 3  ""
 .AT 3
 .SH NAME
 ungetc \- push character back into input stream
 .AT 3
 .SH NAME
 ungetc \- push character back into input stream
@@ -27,12 +27,12 @@ One character of pushback is guaranteed provided
 something has been read from the stream and the stream is actually buffered.
 Attempts to push EOF are rejected.
 .PP
 something has been read from the stream and the stream is actually buffered.
 Attempts to push EOF are rejected.
 .PP
-.IR  Fseek (3S)
+.IR  Fseek (3)
 erases all memory of pushed back characters.
 .SH "SEE ALSO"
 erases all memory of pushed back characters.
 .SH "SEE ALSO"
-getc(3S),
-setbuf(3S),
-fseek(3S)
+getc(3),
+setbuf(3),
+fseek(3)
 .SH DIAGNOSTICS
 .I Ungetc
 returns
 .SH DIAGNOSTICS
 .I Ungetc
 returns