Sign in
mojo
/
mojo-tools
/
7d579155cc597aa3befcbfad66eef54bda06b57c
/
.
/
fusl
/
src
/
stat
/
lchmod.c
blob: 75f565a2300b5b2a5fe9b6176956a4b1165474db [
file
] [
log
] [
blame
]
#define
_GNU_SOURCE
#include
<sys/stat.h>
#include
<fcntl.h>
int
lchmod
(
const
char
*
path
,
mode_t
mode
)
{
return
fchmodat
(
AT_FDCWD
,
path
,
mode
,
AT_SYMLINK_NOFOLLOW
);
}