Sign in
mojo
/
mojo-tools
/
4446eb0e2d7a3e9bca844dc343aa4094eaae9a97
/
.
/
fusl
/
src
/
stat
/
lchmod.c
blob: f324ba798334e8168a14e8b781fd4c15accd6076 [
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
);
}