mirror of https://github.com/mkerrisk/man-pages
fopen.3: Change argument name: 'path' to 'pathname'
For consistency with open(2). Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
7eed8a8f10
commit
af500011b7
10
man3/fopen.3
10
man3/fopen.3
|
@ -48,11 +48,11 @@ fopen, fdopen, freopen \- stream open functions
|
|||
.nf
|
||||
.B #include <stdio.h>
|
||||
.sp
|
||||
.BI "FILE *fopen(const char *" path ", const char *" mode );
|
||||
.BI "FILE *fopen(const char *" pathname ", const char *" mode );
|
||||
|
||||
.BI "FILE *fdopen(int " fd ", const char *" mode );
|
||||
|
||||
.BI "FILE *freopen(const char *" path ", const char *" mode ", FILE *" stream );
|
||||
.BI "FILE *freopen(const char *" pathname ", const char *" mode ", FILE *" stream );
|
||||
.fi
|
||||
.sp
|
||||
.in -4n
|
||||
|
@ -66,7 +66,7 @@ _POSIX_C_SOURCE
|
|||
The
|
||||
.BR fopen ()
|
||||
function opens the file whose name is the string pointed to by
|
||||
.I path
|
||||
.I pathname
|
||||
and associates a stream with it.
|
||||
.PP
|
||||
The argument
|
||||
|
@ -192,7 +192,7 @@ to a shared memory object is undefined.
|
|||
The
|
||||
.BR freopen ()
|
||||
function opens the file whose name is the string pointed to by
|
||||
.I path
|
||||
.I pathname
|
||||
and associates the stream pointed to by
|
||||
.I stream
|
||||
with it.
|
||||
|
@ -204,7 +204,7 @@ argument is used just as in the
|
|||
function.
|
||||
|
||||
If the
|
||||
.I path
|
||||
.I pathname
|
||||
argument is a null pointer,
|
||||
.BR freopen ()
|
||||
changes the mode of the stream to that specified in
|
||||
|
|
Loading…
Reference in New Issue