diff options
| author | Michael Kerrisk <mtk.manpages@gmail.com> | 2017-01-05 15:49:40 +1300 |
|---|---|---|
| committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2017-01-05 15:49:40 +1300 |
| commit | af500011b705b46c74e19464619ba925e0929a3a (patch) | |
| tree | 687be2bd61f2c6d7fc6b442dedca5985c0731170 /man3/fopen.3 | |
| parent | 7eed8a8f10f00d19177b6f7b4665a87dff122068 (diff) | |
| download | man-pages-af500011b705b46c74e19464619ba925e0929a3a.tar.gz | |
fopen.3: Change argument name: 'path' to 'pathname'
For consistency with open(2).
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
Diffstat (limited to 'man3/fopen.3')
| -rw-r--r-- | man3/fopen.3 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/man3/fopen.3 b/man3/fopen.3 index 20f94bcc5c..ec7ce96227 100644 --- a/man3/fopen.3 +++ b/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 |
