summaryrefslogtreecommitdiff
path: root/include/unistd.h
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2024-05-18 05:20:23 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2024-05-18 05:20:23 +0000
commit6555656a94dbb7ea1fec4116aeb681ad815ed723 (patch)
treeefef656f0c553227ab5ee2b518354fa9676b5b29 /include/unistd.h
parenta91c576090ec3fb4ff42fe8367c30697b6b083af (diff)
Add pathconfat(2): pathconf(2) but with at-fd and flags arguments,
the latter supporting the ability to get timestamp resolution of symlinks. ok deraadt@ millert@
Diffstat (limited to 'include/unistd.h')
-rw-r--r--include/unistd.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/unistd.h b/include/unistd.h
index b87979ebbff..1fda33a9cda 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: unistd.h,v 1.108 2023/12/12 15:30:55 deraadt Exp $ */
+/* $OpenBSD: unistd.h,v 1.109 2024/05/18 05:20:22 guenther Exp $ */
/* $NetBSD: unistd.h,v 1.26.4.1 1996/05/28 02:31:51 mrg Exp $ */
/*-
@@ -357,6 +357,9 @@ int isatty(int);
int link(const char *, const char *);
off_t lseek(int, off_t, int);
long pathconf(const char *, int);
+#if __BSD_VISIBLE
+long pathconfat(int, const char *, int, int);
+#endif
int pause(void);
int pipe(int *);
ssize_t read(int, void *, size_t)