void * setmode(const char *p);
Points to a null-terminated ASCII string of either octal digits or a symbolic name that specifies a file permission mode. This string has the same format as the permission argument to the UNIX shell command chmod. Absolute permission specifiers are strings of octal digits. For example, the value 0644 indicates that the file owner has read/write permission, but others only have read permission.
Symbolic names for file access permissions consist of a comma-separated list of elements in the form:
where <who> is u, g, o, or a, <what> is either - or +, and <permissions> are r, w, or x.
For example, the symbolic representation for adding write permission to group members is g+w.
A file permission mode value that can be used by
PTC MKS Toolkit for Professional Developers
PTC MKS Toolkit for Professional Developers 64-Bit Edition
PTC MKS Toolkit for Enterprise Developers
PTC MKS Toolkit for Enterprise Developers 64-Bit Edition
PTC MKS Toolkit 10.3 Documentation Build 39.