delorie.com/djgpp/doc/libc/libc_96.html | search |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
#include <unistd.h> int chown(const char *file, int owner, int group); |
This function changes the ownership of the open file specified by file to the user ID owner and group ID group.
This function does nothing under MS-DOS. This function can be hooked by File System Extensions (see section File System Extensions).
This function always returns zero if the file exists, else it returns
-1 and sets errno
to ENOENT
.
ANSI/ISO C | No |
POSIX | 1003.2-1992; 1003.1-2001 |
webmaster | delorie software privacy |
Copyright © 2004 | Updated Apr 2004 |