☰
Debian Codegraph
@
0.0~git20260129.ec0effd-3
0.0~git20260129.ec0effd-2
/
/
libc-top-half
/
musl
/
src
/
stat
/
lchmod.c
☽
☼
libc-top-half/musl/src/stat/lchmod.c
code
plain
raw
MIT
2005-2019 Rich Felker <
[email protected]
>; 2005-2019 Many other contributors
debian/copyright
1
#define _GNU_SOURCE
2
#include <sys/stat.h>
3
#include <fcntl.h>
4
5
int lchmod(const char *path, mode_t mode)
6
{
7
return fchmodat(AT_FDCWD, path, mode, AT_SYMLINK_NOFOLLOW);
8
}