Started implementing sys/stat.h calls
[reactos.git] / posix / lib / psxdll / sys / stat / chmod.c
1 /* $Id: chmod.c,v 1.1 2002/05/17 02:10:41 hyperion Exp $
2 */
3 /*
4 * COPYRIGHT: See COPYING in the top level directory
5 * PROJECT: ReactOS POSIX+ Subsystem
6 * FILE: subsys/psx/lib/psxdll/sys/stat/chmod.c
7 * PURPOSE: Change mode of a file
8 * PROGRAMMER: KJK::Hyperion <noog@libero.it>
9 * UPDATE HISTORY:
10 * 15/05/2002: Created
11 */
12
13 #include <sys/types.h>
14 #include <sys/stat.h>
15 #include <errno.h>
16
17 int chmod(const char *path, mode_t mode)
18 {
19 errno = ENOSYS;
20 return (-1);
21 }
22
23 int fchmod(int fildes, mode_t mode)
24 {
25 errno = ENOSYS;
26 return (-1);
27 }
28
29 /* EOF */
30