mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-13 10:02:38 +00:00
Fixed #include and/or prototype bugs in synopsis.
This commit is contained in:
parent
a88d7a4bc2
commit
23f0c1fcf6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=24879
@ -46,11 +46,11 @@
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <stdio.h>
|
||||
.Ft FILE *
|
||||
.Fn fopen "char *path" "char *mode"
|
||||
.Fn fopen "const char *path" "const char *mode"
|
||||
.Ft FILE *
|
||||
.Fn fdopen "int fildes" "char *mode"
|
||||
.Fn fdopen "int fildes" "const char *mode"
|
||||
.Ft FILE *
|
||||
.Fn freopen "char *path" "char *mode" "FILE *stream"
|
||||
.Fn freopen "const char *path" "const char *mode" "FILE *stream"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn fopen
|
||||
|
@ -56,7 +56,7 @@
|
||||
.Ft int
|
||||
.Fn fgetpos "FILE *stream" "fpos_t *pos"
|
||||
.Ft int
|
||||
.Fn fsetpos "FILE *stream" "fpos_t *pos"
|
||||
.Fn fsetpos "FILE *stream" "const fpos_t *pos"
|
||||
.Sh DESCRIPTION
|
||||
The
|
||||
.Fn fseek
|
||||
|
@ -44,7 +44,7 @@
|
||||
.Sh SYNOPSIS
|
||||
.Fd #include <stdio.h>
|
||||
.Ft FILE *
|
||||
.Fn funopen "void *cookie" "int (*readfn)(void *, char *, int)" "int (*writefn)(void *, const char *, int)" "fpos_t (*seekfn)(void *, fpos_t, int)" "int (*closefn)(void *)"
|
||||
.Fn funopen "const void *cookie" "int (*readfn)(void *, char *, int)" "int (*writefn)(void *, const char *, int)" "fpos_t (*seekfn)(void *, fpos_t, int)" "int (*closefn)(void *)"
|
||||
.Ft FILE *
|
||||
.Fn fropen "void *cookie" "int (*readfn)(void *, char *, int)"
|
||||
.Ft FILE *
|
||||
|
@ -49,7 +49,7 @@
|
||||
.Ft void
|
||||
.Fn setbuf "FILE *stream" "char *buf"
|
||||
.Ft void
|
||||
.Fn setbuffer "FILE *stream" "char *buf" "size_t size"
|
||||
.Fn setbuffer "FILE *stream" "char *buf" "int size"
|
||||
.Ft int
|
||||
.Fn setlinebuf "FILE *stream"
|
||||
.Ft int
|
||||
|
Loading…
Reference in New Issue
Block a user