aboutsummaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2008-03-31 12:14:04 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2008-03-31 12:14:04 +0000
commitba2983e5b3676ed66e051aa06281c8c069f90cb0 (patch)
tree01ab711c3d38413d1f4d7a5f2a4b8eb6ba3b8d7d /include/unistd.h
parentf2296b585e70af7c0c26b81dcba195bc1bf53197 (diff)
downloadsrc-ba2983e5b3676ed66e051aa06281c8c069f90cb0.tar.gz
src-ba2983e5b3676ed66e051aa06281c8c069f90cb0.zip
Add the libc glue and headers definitions for the *at() syscalls.
Based on the submission by rdivacky, sponsored by Google Summer of Code 2007 Reviewed by: rwatson, rdivacky Tested by: pho
Notes
Notes: svn path=/head/; revision=177791
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index b7686858cf55..a277e42524fc 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -559,6 +559,17 @@ void *valloc(size_t); /* obsoleted by malloc() */
extern int optreset; /* getopt(3) external variable */
#endif
#endif /* __BSD_VISIBLE */
+
+#if __BSD_VISIBLE
+int faccessat(int, const char *, int);
+int fchmodat(int, const char *, mode_t, int);
+int fchownat(int, const char *, uid_t, gid_t, int);
+int fexecve(int, char *const [], char *const []);
+int linkat(int, const char *, int, const char *, int);
+ssize_t readlinkat(int, const char *, char *, size_t);
+int symlinkat(const char *, int, const char *);
+int unlinkat(int, const char *, int);
+#endif /* __BSD_VISIBLE */
__END_DECLS
#endif /* !_UNISTD_H_ */