Initial import of the ircii-pana-1.1-final source tree.
git-svn-id: svn://svn.code.sf.net/p/bitchx/code/tags/ircii-pana-1.1-final@1 13b04d17-f746-0410-82c6-800466cd88b0
This commit is contained in:
24
bitchx-docs/6_Functions/umask
Normal file
24
bitchx-docs/6_Functions/umask
Normal file
@@ -0,0 +1,24 @@
|
||||
Synopsis:
|
||||
$umask(<mask>)
|
||||
|
||||
Technical:
|
||||
This function sets the default file umask used when creating and writing
|
||||
files with EPIC's builtin file functions. The umask sets the permission
|
||||
bits to block when writing. Essentially, the resultant permission bits
|
||||
would be the default minus the umask.
|
||||
|
||||
Practical:
|
||||
This function is used to set the default file permissions. The $chmod()
|
||||
function is affected by it.
|
||||
|
||||
Returns:
|
||||
previous umask, or nothing if no new umask is given
|
||||
|
||||
Examples:
|
||||
$umask(77) sets default permissions to 700
|
||||
$umask(2) sets default permissions to 775
|
||||
$umask() error, no mask, returns nothing
|
||||
|
||||
See Also:
|
||||
chmod(6)
|
||||
|
||||
Reference in New Issue
Block a user