[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #45054] mkfifo: Document that MODE is in base
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #45054] mkfifo: Document that MODE is in base 10 |
Date: |
Fri, 08 May 2015 07:45:53 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.6.0 |
URL:
<http://savannah.gnu.org/bugs/?45054>
Summary: mkfifo: Document that MODE is in base 10
Project: GNU Octave
Submitted by: None
Submitted on: Fr 08 Mai 2015 07:45:51 UTC
Category: Documentation
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
-- Built-in Function: mkfifo (NAME, MODE)
-- Built-in Function: [ERR, MSG] = mkfifo (NAME, MODE)
Create a FIFO special file named NAME with file mode MODE
I think the doc should mention that MODE is interpreted as base10 integer so
the user has to call
mkfifo (NAME, base2dec ("644", 8))
To get the expected "prw-r--r--" modestr. Perhaps it could also mention that
the umask is also used.
man 3 mkfifo:
mkfifo() makes a FIFO special file with name pathname. mode specifies the
FIFO's permissions. It is modified by the process's umask in the usual way:
the permissions of the created file are (mode & ~umask).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?45054>
_______________________________________________
Nachricht gesendet von/durch Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #45054] mkfifo: Document that MODE is in base 10,
anonymous <=