afc_fileops_chmod

Name

afc_fileops_chmod  -- Change the file permissions

Synopsis

int afc_fileops_chmod ( FileOperations * fo, char * file_name, int mode );

Description

This function changes the file permissions. It has the same function of the shell command chmod.

Inputs

fo

Pointer to a valid FileOperations class.

file_name

The file/dir name to work on

mode

The new file permissions

Result

Note

See Also