lang-bootstrap/05/musl-final/src/stat/chmod.c

8 lines
137 B
C
Raw Normal View History

2025-04-05 10:55:40 +01:00
#include <sys/stat.h>
#include "syscall.h"
int chmod(const char *path, mode_t mode)
{
return syscall2(__NR_chmod, (long)path, mode);
}