Mercurial > octave-nkf
diff libinterp/corefcn/dirfns.cc @ 20233:b597bd161a5f stable
doc: Document that mkfifo's mode argument is in decimal (bug #45054).
* dirfns.cc (Fmkdir): Document that umask is applied to the mode bits of a
newly created directory.
* file-io.cc (Ffopen): Document that umask is applied to the mode bits of a
newly created file.
* file-io.cc (Fumask): Add brief explanation of umask and UNIX permission bits.
* syscalls.cc (Fmkfifo): Document that mode is in decimal and subject to umask
processing.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 17 May 2015 09:45:54 -0700 |
parents | 2ae4a7ef4378 |
children | 1a0a433c8263 |
line wrap: on
line diff
--- a/libinterp/corefcn/dirfns.cc Thu May 14 14:25:37 2015 -0700 +++ b/libinterp/corefcn/dirfns.cc Sun May 17 09:45:54 2015 -0700 @@ -230,7 +230,10 @@ character strings (""). Otherwise, @var{status} is 0, @var{msg} contains a\n\ system-dependent error message, and @var{msgid} contains a unique message\n\ identifier.\n\ -@seealso{rmdir, pwd, cd}\n\ +\n\ +When creating a directory permissions will be set to\n\ +@code{0777 - @var{umask}}.\n\ +@seealso{rmdir, pwd, cd, umask}\n\ @end deftypefn") { octave_value_list retval;