summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdio
diff options
context:
space:
mode:
authortedu <tedu@openbsd.org>2013-06-05 03:39:22 +0000
committertedu <tedu@openbsd.org>2013-06-05 03:39:22 +0000
commit64d4e9871d1af4e50715ace8f2f237ff8e4d36e0 (patch)
tree90569bb16bd247c9a0433830994a6bc333a5a4f9 /lib/libc/stdio
parentm_defrag(9) wasnt documented. (diff)
downloadwireguard-openbsd-64d4e9871d1af4e50715ace8f2f237ff8e4d36e0.tar.xz
wireguard-openbsd-64d4e9871d1af4e50715ace8f2f237ff8e4d36e0.zip
Use the fancy .In macro for includes. From Jan Klemkow. ok jmc schwarze
Diffstat (limited to 'lib/libc/stdio')
-rw-r--r--lib/libc/stdio/fclose.36
-rw-r--r--lib/libc/stdio/ferror.36
-rw-r--r--lib/libc/stdio/fflush.36
-rw-r--r--lib/libc/stdio/fgetln.36
-rw-r--r--lib/libc/stdio/fgets.36
-rw-r--r--lib/libc/stdio/fmemopen.36
-rw-r--r--lib/libc/stdio/fopen.36
-rw-r--r--lib/libc/stdio/fputs.36
-rw-r--r--lib/libc/stdio/fread.36
-rw-r--r--lib/libc/stdio/fseek.36
-rw-r--r--lib/libc/stdio/funopen.36
-rw-r--r--lib/libc/stdio/getc.36
-rw-r--r--lib/libc/stdio/mktemp.36
-rw-r--r--lib/libc/stdio/open_memstream.38
-rw-r--r--lib/libc/stdio/perror.36
-rw-r--r--lib/libc/stdio/printf.310
-rw-r--r--lib/libc/stdio/putc.36
-rw-r--r--lib/libc/stdio/remove.36
-rw-r--r--lib/libc/stdio/setbuf.36
-rw-r--r--lib/libc/stdio/stdio.36
-rw-r--r--lib/libc/stdio/tmpnam.36
-rw-r--r--lib/libc/stdio/ungetc.36
22 files changed, 69 insertions, 69 deletions
diff --git a/lib/libc/stdio/fclose.3 b/lib/libc/stdio/fclose.3
index 7b47c482b10..57d3217fce7 100644
--- a/lib/libc/stdio/fclose.3
+++ b/lib/libc/stdio/fclose.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fclose.3,v 1.6 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: fclose.3,v 1.7 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,14 +31,14 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: June 5 2013 $
.Dt FCLOSE 3
.Os
.Sh NAME
.Nm fclose
.Nd close a stream
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft int
.Fn fclose "FILE *stream"
.Sh DESCRIPTION
diff --git a/lib/libc/stdio/ferror.3 b/lib/libc/stdio/ferror.3
index f4466937555..8add5bd3779 100644
--- a/lib/libc/stdio/ferror.3
+++ b/lib/libc/stdio/ferror.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ferror.3,v 1.8 2009/01/29 16:37:16 jmc Exp $
+.\" $OpenBSD: ferror.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 29 2009 $
+.Dd $Mdocdate: June 5 2013 $
.Dt FERROR 3
.Os
.Sh NAME
@@ -41,7 +41,7 @@
.Nm fileno
.Nd check and reset stream status
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft void
.Fn clearerr "FILE *stream"
.Ft int
diff --git a/lib/libc/stdio/fflush.3 b/lib/libc/stdio/fflush.3
index c6a2de95650..75eb5ae5fdf 100644
--- a/lib/libc/stdio/fflush.3
+++ b/lib/libc/stdio/fflush.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fflush.3,v 1.8 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: fflush.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: June 5 2013 $
.Dt FFLUSH 3
.Os
.Sh NAME
@@ -39,7 +39,7 @@
.Nm fpurge
.Nd flush a stream
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft int
.Fn fflush "FILE *stream"
.Ft int
diff --git a/lib/libc/stdio/fgetln.3 b/lib/libc/stdio/fgetln.3
index fd877f01295..b2806616cb5 100644
--- a/lib/libc/stdio/fgetln.3
+++ b/lib/libc/stdio/fgetln.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fgetln.3,v 1.15 2007/06/21 13:47:07 moritz Exp $
+.\" $OpenBSD: fgetln.3,v 1.16 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,14 +27,14 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 21 2007 $
+.Dd $Mdocdate: June 5 2013 $
.Dt FGETLN 3
.Os
.Sh NAME
.Nm fgetln
.Nd get a line from a stream
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft char *
.Fn fgetln "FILE *stream" "size_t *len"
.Sh DESCRIPTION
diff --git a/lib/libc/stdio/fgets.3 b/lib/libc/stdio/fgets.3
index 13b213088ef..6b0365f2bbe 100644
--- a/lib/libc/stdio/fgets.3
+++ b/lib/libc/stdio/fgets.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fgets.3,v 1.29 2009/06/02 22:28:18 ray Exp $
+.\" $OpenBSD: fgets.3,v 1.30 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: June 2 2009 $
+.Dd $Mdocdate: June 5 2013 $
.Dt FGETS 3
.Os
.Sh NAME
@@ -39,7 +39,7 @@
.Nm gets
.Nd get a line from a stream
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft char *
.Fn fgets "char *str" "int size" "FILE *stream"
.Ft char *
diff --git a/lib/libc/stdio/fmemopen.3 b/lib/libc/stdio/fmemopen.3
index 972f25aa587..a0ce544d8a7 100644
--- a/lib/libc/stdio/fmemopen.3
+++ b/lib/libc/stdio/fmemopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fmemopen.3,v 1.3 2013/03/28 09:37:55 mpi Exp $
+.\" $OpenBSD: fmemopen.3,v 1.4 2013/06/05 03:39:23 tedu Exp $
.\" $NetBSD: fmemopen.3,v 1.5 2010/10/07 00:14:14 enami Exp $
.\"
.\" Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -35,14 +35,14 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 28 2013 $
+.Dd $Mdocdate: June 5 2013 $
.Dt FMEMOPEN 3
.Os
.Sh NAME
.Nm fmemopen
.Nd open a stream that points to the given buffer
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft FILE *
.Fn fmemopen "void *buffer" "size_t size" "const char *mode"
.Sh DESCRIPTION
diff --git a/lib/libc/stdio/fopen.3 b/lib/libc/stdio/fopen.3
index 474212670fe..fda35fbb772 100644
--- a/lib/libc/stdio/fopen.3
+++ b/lib/libc/stdio/fopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fopen.3,v 1.26 2012/10/03 06:27:14 jmc Exp $
+.\" $OpenBSD: fopen.3,v 1.27 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: October 3 2012 $
+.Dd $Mdocdate: June 5 2013 $
.Dt FOPEN 3
.Os
.Sh NAME
@@ -40,7 +40,7 @@
.Nm freopen
.Nd stream open functions
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft FILE *
.Fn fopen "const char *path" "const char *mode"
.Ft FILE *
diff --git a/lib/libc/stdio/fputs.3 b/lib/libc/stdio/fputs.3
index 0a43784dcf4..dbe9c528fff 100644
--- a/lib/libc/stdio/fputs.3
+++ b/lib/libc/stdio/fputs.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fputs.3,v 1.8 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: fputs.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: June 5 2013 $
.Dt FPUTS 3
.Os
.Sh NAME
@@ -39,7 +39,7 @@
.Nm puts
.Nd output a line to a stream
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft int
.Fn fputs "const char *str" "FILE *stream"
.Ft int
diff --git a/lib/libc/stdio/fread.3 b/lib/libc/stdio/fread.3
index 754636f8d01..0949edb4758 100644
--- a/lib/libc/stdio/fread.3
+++ b/lib/libc/stdio/fread.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fread.3,v 1.5 2009/07/12 18:45:21 millert Exp $
+.\" $OpenBSD: fread.3,v 1.6 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 12 2009 $
+.Dd $Mdocdate: June 5 2013 $
.Dt FREAD 3
.Os
.Sh NAME
@@ -39,7 +39,7 @@
.Nm fwrite
.Nd binary stream input/output
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft size_t
.Fn fread "void *ptr" "size_t size" "size_t nmemb" "FILE *stream"
.Ft size_t
diff --git a/lib/libc/stdio/fseek.3 b/lib/libc/stdio/fseek.3
index 665cfea0aac..a2bf17cc8d3 100644
--- a/lib/libc/stdio/fseek.3
+++ b/lib/libc/stdio/fseek.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fseek.3,v 1.14 2012/05/22 23:43:40 matthew Exp $
+.\" $OpenBSD: fseek.3,v 1.15 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 22 2012 $
+.Dd $Mdocdate: June 5 2013 $
.Dt FSEEK 3
.Os
.Sh NAME
@@ -44,7 +44,7 @@
.Nm rewind
.Nd reposition a stream
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft int
.Fn fgetpos "FILE *stream" "fpos_t *pos"
.Ft int
diff --git a/lib/libc/stdio/funopen.3 b/lib/libc/stdio/funopen.3
index f12b461cc61..a57bba64681 100644
--- a/lib/libc/stdio/funopen.3
+++ b/lib/libc/stdio/funopen.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: funopen.3,v 1.14 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: funopen.3,v 1.15 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: June 5 2013 $
.Dt FUNOPEN 3
.Os
.Sh NAME
@@ -38,7 +38,7 @@
.Nm fwopen
.Nd open a stream
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft FILE *
.Fn funopen "const void *cookie" "int (*readfn)(void *, char *, int)" \
"int (*writefn)(void *, const char *, int)" \
diff --git a/lib/libc/stdio/getc.3 b/lib/libc/stdio/getc.3
index 58d01c09926..2b189179b93 100644
--- a/lib/libc/stdio/getc.3
+++ b/lib/libc/stdio/getc.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: getc.3,v 1.13 2012/01/15 21:03:05 schwarze Exp $
+.\" $OpenBSD: getc.3,v 1.14 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 15 2012 $
+.Dd $Mdocdate: June 5 2013 $
.Dt GETC 3
.Os
.Sh NAME
@@ -41,7 +41,7 @@
.Nm getw
.Nd get next character or word from input stream
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft int
.Fn fgetc "FILE *stream"
.Ft int
diff --git a/lib/libc/stdio/mktemp.3 b/lib/libc/stdio/mktemp.3
index 56c7df3b88e..70559fb8185 100644
--- a/lib/libc/stdio/mktemp.3
+++ b/lib/libc/stdio/mktemp.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mktemp.3,v 1.50 2013/03/12 16:47:11 guenther Exp $
+.\" $OpenBSD: mktemp.3,v 1.51 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1989, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,7 +27,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 12 2013 $
+.Dd $Mdocdate: June 5 2013 $
.Dt MKTEMP 3
.Os
.Sh NAME
@@ -37,7 +37,7 @@
.Nm mkdtemp
.Nd make temporary file name (unique)
.Sh SYNOPSIS
-.Fd #include <stdlib.h>
+.In stdlib.h
.Ft char *
.Fn mktemp "char *template"
.Ft int
diff --git a/lib/libc/stdio/open_memstream.3 b/lib/libc/stdio/open_memstream.3
index 4ff18284d7d..c08fc210c44 100644
--- a/lib/libc/stdio/open_memstream.3
+++ b/lib/libc/stdio/open_memstream.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: open_memstream.3,v 1.3 2013/03/28 09:37:55 mpi Exp $
+.\" $OpenBSD: open_memstream.3,v 1.4 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 2011 Martin Pieuchot <mpi@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: March 28 2013 $
+.Dd $Mdocdate: June 5 2013 $
.Dt OPEN_MEMSTREAM 3
.Os
.Sh NAME
@@ -22,10 +22,10 @@
.Nm open_wmemstream
.Nd open a memory buffer stream
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft FILE *
.Fn open_memstream "char **pbuf" "size_t *psize"
-.Fd #include <wchar.h>
+.In wchar.h
.Ft FILE *
.Fn open_wmemstream "wchar_t **pbuf" "size_t *psize"
.Sh DESCRIPTION
diff --git a/lib/libc/stdio/perror.3 b/lib/libc/stdio/perror.3
index 17817777809..8bb200e42e7 100644
--- a/lib/libc/stdio/perror.3
+++ b/lib/libc/stdio/perror.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: perror.3,v 1.8 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: perror.3,v 1.9 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1980, 1991 Regents of the University of California.
.\" All rights reserved.
@@ -31,14 +31,14 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: June 5 2013 $
.Dt PERROR 3
.Os
.Sh NAME
.Nm perror
.Nd write error messages to standard error
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft void
.Fn perror "const char *string"
.Sh DESCRIPTION
diff --git a/lib/libc/stdio/printf.3 b/lib/libc/stdio/printf.3
index d540a97f8e8..f1fc86b85d5 100644
--- a/lib/libc/stdio/printf.3
+++ b/lib/libc/stdio/printf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: printf.3,v 1.62 2013/04/01 20:16:31 guenther Exp $
+.\" $OpenBSD: printf.3,v 1.63 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,7 +33,7 @@
.\"
.\" @(#)printf.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: April 1 2013 $
+.Dd $Mdocdate: June 5 2013 $
.Dt PRINTF 3
.Os
.Sh NAME
@@ -51,7 +51,7 @@
.Nm vdprintf
.Nd formatted output conversion
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft int
.Fn printf "const char *format" ...
.Ft int
@@ -64,8 +64,8 @@
.Fn asprintf "char **ret" "const char *format" ...
.Ft int
.Fn dprintf "int fd" "const char * restrict format" ...
-.Fd #include <stdarg.h>
-.Fd #include <stdio.h>
+.In stdarg.h
+.In stdio.h
.Ft int
.Fn vprintf "const char *format" "va_list ap"
.Ft int
diff --git a/lib/libc/stdio/putc.3 b/lib/libc/stdio/putc.3
index 737d9f670bd..13813ef3be4 100644
--- a/lib/libc/stdio/putc.3
+++ b/lib/libc/stdio/putc.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: putc.3,v 1.10 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: putc.3,v 1.11 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: June 5 2013 $
.Dt PUTC 3
.Os
.Sh NAME
@@ -41,7 +41,7 @@
.Nm putw
.Nd output a character or word to a stream
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft int
.Fn fputc "int c" "FILE *stream"
.Ft int
diff --git a/lib/libc/stdio/remove.3 b/lib/libc/stdio/remove.3
index 6a9bd27745c..82081ef4605 100644
--- a/lib/libc/stdio/remove.3
+++ b/lib/libc/stdio/remove.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: remove.3,v 1.11 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: remove.3,v 1.12 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -33,14 +33,14 @@
.\"
.\" @(#)remove.3 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: June 5 2013 $
.Dt REMOVE 3
.Os
.Sh NAME
.Nm remove
.Nd remove a file or directory
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft int
.Fn remove "const char *path"
.Sh DESCRIPTION
diff --git a/lib/libc/stdio/setbuf.3 b/lib/libc/stdio/setbuf.3
index e3aaaed54d6..f6e7a0fd1fb 100644
--- a/lib/libc/stdio/setbuf.3
+++ b/lib/libc/stdio/setbuf.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: setbuf.3,v 1.12 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: setbuf.3,v 1.13 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: June 5 2013 $
.Dt SETBUF 3
.Os
.Sh NAME
@@ -41,7 +41,7 @@
.Nm setvbuf
.Nd stream buffering operations
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft void
.Fn setbuf "FILE *stream" "char *buf"
.Ft void
diff --git a/lib/libc/stdio/stdio.3 b/lib/libc/stdio/stdio.3
index 1aea9147013..07a947bba97 100644
--- a/lib/libc/stdio/stdio.3
+++ b/lib/libc/stdio/stdio.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: stdio.3,v 1.26 2013/03/04 01:50:01 brad Exp $
+.\" $OpenBSD: stdio.3,v 1.27 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -27,14 +27,14 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 4 2013 $
+.Dd $Mdocdate: June 5 2013 $
.Dt STDIO 3
.Os
.Sh NAME
.Nm stdio
.Nd standard input/output library functions
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Pp
.Fd FILE *stdin;
.Fd FILE *stdout;
diff --git a/lib/libc/stdio/tmpnam.3 b/lib/libc/stdio/tmpnam.3
index 5e08dfa247a..b3c07392ca2 100644
--- a/lib/libc/stdio/tmpnam.3
+++ b/lib/libc/stdio/tmpnam.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tmpnam.3,v 1.17 2012/09/07 05:37:06 jmc Exp $
+.\" $OpenBSD: tmpnam.3,v 1.18 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1988, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,7 +31,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: September 7 2012 $
+.Dd $Mdocdate: June 5 2013 $
.Dt TMPFILE 3
.Os
.Sh NAME
@@ -40,7 +40,7 @@
.Nm tmpnam
.Nd temporary file routines
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft FILE *
.Fn tmpfile void
.Ft char *
diff --git a/lib/libc/stdio/ungetc.3 b/lib/libc/stdio/ungetc.3
index 85392075e84..ea4c9fd5d36 100644
--- a/lib/libc/stdio/ungetc.3
+++ b/lib/libc/stdio/ungetc.3
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ungetc.3,v 1.7 2007/05/31 19:19:31 jmc Exp $
+.\" $OpenBSD: ungetc.3,v 1.8 2013/06/05 03:39:23 tedu Exp $
.\"
.\" Copyright (c) 1990, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
@@ -31,14 +31,14 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: May 31 2007 $
+.Dd $Mdocdate: June 5 2013 $
.Dt UNGETC 3
.Os
.Sh NAME
.Nm ungetc
.Nd un-get character from input stream
.Sh SYNOPSIS
-.Fd #include <stdio.h>
+.In stdio.h
.Ft int
.Fn ungetc "int c" "FILE *stream"
.Sh DESCRIPTION