Logo Search packages:      
Sourcecode: samba-doc-ja version File versions

int smbc_chmod ( const char *  url,
mode_t  mode 
)

Change the permissions of a file.

Parameters:
url The smb url of the file or directory to change permissions of
mode The permissions to set:
  • Put good explaination of permissions here!
Returns:
0 on success, < 0 on error with errno set:
  • EPERM The effective UID does not match the owner of the file, and is not zero
  • ENOENT The file does not exist.
  • ENOMEM Insufficient was available.
  • ENOENT file or directory does not exist
Todo:
Actually implement this fuction?
Todo:
Are errno values complete and correct?


Generated by  Doxygen 1.6.0   Back to index