chmod()
Changes the mode of the specified file. Returns NULL if an error occurs, TRUE if the chmod occurs.
Syntax:
chmod(filename, int);
where
filename is a string that contains the name of the file to change.
int is a four-digit integer that specifies the mode to change to. The first digit is a 0 and the next three digits are the same integers that define the mode in the UNIX chmod command.
Example:
chmod("myfile.txt", 0777); // grants read, write, and execute permission // to everyone for myfile.txt
Where Used:
Measurement Expressions (Data Display equations and Schematic MeasEqns), Schematic, Layout, Simulation, GUI
Privacy
Statement
|
Terms of Use
|
Legal |
Contact Us
|
© Agilent 2000-2008 ![]()