about summary refs log tree commit diff
path: root/manual
diff options
context:
space:
mode:
authorStephen Compall <s11@member.fsf.org>2012-04-08 14:51:45 +0200
committerAndreas Jaeger <aj@suse.de>2012-04-08 14:53:13 +0200
commit624254b18ae5a756baabbcd881faf1440e36151f (patch)
treec8354603c42d2c2a01c6587687ff09e4cb6d080c /manual
parentf8887d0a5feda97244613135822b0439addc2b1f (diff)
downloadglibc-624254b18ae5a756baabbcd881faf1440e36151f.tar.gz
glibc-624254b18ae5a756baabbcd881faf1440e36151f.tar.xz
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')
-rw-r--r--manual/llio.texi8
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