diff options
author | Stephen Compall <s11@member.fsf.org> | 2012-04-08 14:51:45 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@suse.de> | 2012-04-08 14:53:13 +0200 |
commit | 624254b18ae5a756baabbcd881faf1440e36151f (patch) | |
tree | c8354603c42d2c2a01c6587687ff09e4cb6d080c /manual/llio.texi | |
parent | Add byteswap-16.h for __bswap_16 (diff) | |
download | glibc-624254b18ae5a756baabbcd881faf1440e36151f.tar.gz glibc-624254b18ae5a756baabbcd881faf1440e36151f.tar.bz2 glibc-624254b18ae5a756baabbcd881faf1440e36151f.zip |
Better describe open arguments
[BZ #6649]
* manual/llio.texi (Opening and Closing Files): Add cross
reference to explain mode argument.
Diffstat (limited to 'manual/llio.texi')
-rw-r--r-- | manual/llio.texi | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/manual/llio.texi b/manual/llio.texi index 1da612accb..acafed315e 100644 --- a/manual/llio.texi +++ b/manual/llio.texi @@ -78,11 +78,11 @@ declared in @file{unistd.h}. @comment fcntl.h @comment POSIX.1 @deftypefun int open (const char *@var{filename}, int @var{flags}[, mode_t @var{mode}]) -The @code{open} function creates and returns a new file descriptor -for the file named by @var{filename}. Initially, the file position +The @code{open} function creates and returns a new file descriptor for +the file named by @var{filename}. Initially, the file position indicator for the file is at the beginning of the file. The argument -@var{mode} is used only when a file is created, but it doesn't hurt -to supply the argument in any case. +@var{mode} (@pxref{Permission Bits}) is used only when a file is +created, but it doesn't hurt to supply the argument in any case. The @var{flags} argument controls how the file is to be opened. This is a bit mask; you create the value by the bitwise OR of the appropriate |