umask
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | umask [2006/08/29 16:08] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | # $EPIC: umask.txt,v 1.2 2006/08/20 17:37:08 sthalik Exp $ | ||
+ | ======Synopsis: | ||
+ | $__umask__(< | ||
+ | |||
+ | ======Technical: | ||
+ | This function sets the default file umask used when creating and writing | ||
+ | files with EPIC's builtin file functions. | ||
+ | bits to block when writing. | ||
+ | would be the default minus the umask. | ||
+ | |||
+ | ======Practical: | ||
+ | This function is used to set the default file permissions. | ||
+ | function is affected by it. | ||
+ | |||
+ | ======Returns: | ||
+ | previous umask, or nothing if no new umask is given | ||
+ | |||
+ | ======Examples: | ||
+ | < | ||
+ | $umask(77) | ||
+ | $umask(2) | ||
+ | $umask() | ||
+ | </ | ||
umask.txt · Last modified: 2006/08/29 16:08 by 127.0.0.1