about summary refs log tree commit diff
path: root/include/sys/stat.h
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-02-17 23:13:46 -0500
committerRich Felker <dalias@aerifal.cx>2011-02-17 23:13:46 -0500
commitd5ca067c7bb47081c169ff8b0213c73418f0525e (patch)
treebb958a655f824c9cc4019548cf8284167e679ce0 /include/sys/stat.h
parent982a47843316e65f2b849e9def893195396aeec0 (diff)
downloadmusl-d5ca067c7bb47081c169ff8b0213c73418f0525e.tar.gz
musl-d5ca067c7bb47081c169ff8b0213c73418f0525e.tar.xz
musl-d5ca067c7bb47081c169ff8b0213c73418f0525e.zip
add portable lchown (trivial to support and a few ancient things want it..)
Diffstat (limited to 'include/sys/stat.h')
-rw-r--r--include/sys/stat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sys/stat.h b/include/sys/stat.h
index 627890f4..25c199f9 100644
--- a/include/sys/stat.h
+++ b/include/sys/stat.h
@@ -86,6 +86,9 @@ int mkdirat(int, const char *, mode_t);
 int mknodat(int, const char *, mode_t, dev_t);
 int mkfifoat(int, const char *, mode_t);
 
+#ifdef _BSD_SOURCE
+int lchmod(const char *, mode_t);
+#endif
 
 #ifdef __cplusplus
 }