comparison 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
comparison
equal deleted inserted replaced
20229:b0f7ee81d974 20233:b597bd161a5f
228 \n\ 228 \n\
229 If successful, @var{status} is 1, and @var{msg}, @var{msgid} are empty\n\ 229 If successful, @var{status} is 1, and @var{msg}, @var{msgid} are empty\n\
230 character strings (""). Otherwise, @var{status} is 0, @var{msg} contains a\n\ 230 character strings (""). Otherwise, @var{status} is 0, @var{msg} contains a\n\
231 system-dependent error message, and @var{msgid} contains a unique message\n\ 231 system-dependent error message, and @var{msgid} contains a unique message\n\
232 identifier.\n\ 232 identifier.\n\
233 @seealso{rmdir, pwd, cd}\n\ 233 \n\
234 When creating a directory permissions will be set to\n\
235 @code{0777 - @var{umask}}.\n\
236 @seealso{rmdir, pwd, cd, umask}\n\
234 @end deftypefn") 237 @end deftypefn")
235 { 238 {
236 octave_value_list retval; 239 octave_value_list retval;
237 240
238 retval(2) = std::string (); 241 retval(2) = std::string ();