Manpage of creat
Section: User Commands (1)
Return to Main Contents
creat - create a file with a particular mode
creat filename octalmode
This creates a file in a single system call, rather than as a create
followed by a chmod. In addition to basic function, this may be of
use for creating "lock files".
filename - a filename, either relative to the current working
directory, or fully specified.
octalmode - The mode that the file will be created in. This is a
simple octal number. (Symbolic names such as used by chmod
are not supported). The values for this are the same as chmod(1).
$ creat libcitr.a.lock 000
chmod(1), creat(2), flock(1)
David Horton - CiTR
Centre for Information Technology Research, 1993
- See Also
- Known Bugs
This document was created by
using the manual pages.
Time: 23:34:46 GMT, September 27, 2019