diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-12-24 22:04:47 +0000 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2007-12-24 22:04:47 +0000 |
commit | 47752f332c3226744052ee12071234a745792dd5 (patch) | |
tree | 3e84e0a6d4695d4e5c097ae45d01dd4f6a7062b3 /man3/fopen.3 | |
parent | a17e03f5cbdce52fe39b8b8494bc1f45f22ca61e (diff) |
s/fildes/fd/
Diffstat (limited to 'man3/fopen.3')
-rw-r--r-- | man3/fopen.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/fopen.3 b/man3/fopen.3 index 742fb135..3351463f 100644 --- a/man3/fopen.3 +++ b/man3/fopen.3 @@ -48,7 +48,7 @@ fopen, fdopen, freopen \- stream open functions .sp .BI "FILE *fopen(const char *" path ", const char *" mode ); -.BI "FILE *fdopen(int " fildes ", const char *" mode ); +.BI "FILE *fdopen(int " fd ", const char *" mode ); .BI "FILE *freopen(const char *" path ", const char *" mode ", FILE *" stream ); .fi @@ -148,14 +148,14 @@ call. The .BR fdopen () function associates a stream with the existing file descriptor, -.IR fildes . +.IR fd . The .I mode of the stream (one of the values "r", "r+", "w", "w+", "a", "a+") must be compatible with the mode of the file descriptor. The file position indicator of the new stream is set to that belonging to -.IR fildes , +.IR fd , and the error and end-of-file indicators are cleared. Modes "w" or "w+" do not cause truncation of the file. The file descriptor is not dup'ed, and will be closed when |