Differences between version 6 and revision by previous author of creat(2).
Other diffs: Previous Major Revision, Previous Revision, or view the Annotated Edit History
Newer page: | version 6 | Last edited on Sunday, November 3, 2002 2:29:16 pm | by PerryLorier | Revert |
Older page: | version 4 | Last edited on Thursday, October 31, 2002 10:18:59 pm | by JohnMcPherson | Revert |
@@ -1,8 +1,8 @@
!!NAME
creat - open and possibly create a file or device
!!SYNOPSIS
-
+ __#include <sys/stat.h>__ /* for the S_* contants */
__#include <unistd.h>__
__int creat(const char *__''pathname''__, mode_t__ ''mode''__);__
!!DESCRIPTION
@@ -18,9 +18,9 @@
The following symbolic constants are provided for ''mode'':
|__S_IRWXU__|00700| user (file owner) has read, write and execute permission
-|__S_IRUSR (S_IREAD)|00400| user has read permission
+|__S_IRUSR (S_IREAD)__
|00400| user has read permission
|__S_IWUSR (S_IWRITE)__|00200| user has write permission
|__S_IXUSR (S_IEXEC)__|00100| user has execute permission
|__S_IRWXG__|00070| group has read, write and execute permission
|__S_IRGRP__|00040| group has read permission