Sign in
mojo
/
mojo-tools
/
17e3b04429ce6ad836128e1ceffefd85493ec779
/
.
/
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
);
}