diff options
| author | Joseph Koshy <jkoshy@FreeBSD.org> | 1998-09-08 02:02:50 +0000 |
|---|---|---|
| committer | Joseph Koshy <jkoshy@FreeBSD.org> | 1998-09-08 02:02:50 +0000 |
| commit | 434f5778077845cd7ab5f211536ba418240f0513 (patch) | |
| tree | 854d96342a623fdb8a48c8b3cadb86fce7566569 /lib/libc/sys/open.2 | |
| parent | 6b94cd72daaac671ffe2d407793eaaa3de49f090 (diff) | |
Notes
Diffstat (limited to 'lib/libc/sys/open.2')
| -rw-r--r-- | lib/libc/sys/open.2 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libc/sys/open.2 b/lib/libc/sys/open.2 index 73435287d165..15a4ef6f63fd 100644 --- a/lib/libc/sys/open.2 +++ b/lib/libc/sys/open.2 @@ -40,7 +40,7 @@ .Sh SYNOPSIS .Fd #include <fcntl.h> .Ft int -.Fn open "const char *path" "int flags" "mode_t mode" +.Fn open "const char *path" "int flags" "..." .Sh DESCRIPTION The file name specified by .Fa path @@ -54,7 +54,11 @@ The argument may indicate the file is to be created if it does not exist (by specifying the .Dv O_CREAT -flag), in which case the file is created with mode +flag). In this case +.Nm +requires a third argument +.Fa "mode_t mode" , +and the file is created with mode .Fa mode as described in .Xr chmod 2 |
