minix/lib/libc/posix/_fchmod.c

13 lines
199 B
C
Raw Normal View History

2006-04-18 13:26:04 +02:00
#include <lib.h>
#define fchmod _fchmod
#include <sys/stat.h>
PUBLIC int fchmod(int fd, mode_t mode)
2006-04-18 13:26:04 +02:00
{
message m;
m.m1_i1 = fd;
m.m1_i2 = mode;
return(_syscall(VFS_PROC_NR, FCHMOD, &m));
2006-04-18 13:26:04 +02:00
}