repo.or.cz
/
musl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
iconv: add aliases for GBK
[musl.git]
/
src
/
stat
/
lchmod.c
blob
f324ba798334e8168a14e8b781fd4c15accd6076
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
}