projects
/
oweals
/
musl.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
only use memcpy realloc to shrink if an exact-sized free chunk exists
[oweals/musl.git]
/
src
/
stat
/
lchmod.c
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
}