summaryrefslogtreecommitdiffstats
path: root/sys/sys/syscall.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-09-14 16:51:31 +0000
committerphk <phk@FreeBSD.org>1997-09-14 16:51:31 +0000
commitb079abc11c97decabfeb4683ebd3561674cdf55d (patch)
tree2b771099ba7453b6556716fa8dcf87c1f0f6f017 /sys/sys/syscall.h
parente2ce0d677e459daf5a1afb3e7317c7d9b2fdfe1c (diff)
downloadFreeBSD-src-b079abc11c97decabfeb4683ebd3561674cdf55d.zip
FreeBSD-src-b079abc11c97decabfeb4683ebd3561674cdf55d.tar.gz
Add a __getcwd() syscall. This is intentionally undocumented, but all
it does is to try to figure the pwd out from the vfs namecache, and return a reversed string to it. libc:getcwd() is responsible for flipping it back.
Diffstat (limited to 'sys/sys/syscall.h')
-rw-r--r--sys/sys/syscall.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/syscall.h b/sys/sys/syscall.h
index fdf4f8d..f8646a9 100644
--- a/sys/sys/syscall.h
+++ b/sys/sys/syscall.h
@@ -239,4 +239,5 @@
#define SYS_thr_wakeup 323
#define SYS_mlockall 324
#define SYS_munlockall 325
-#define SYS_MAXSYSCALL 326
+#define SYS___getcwd 326
+#define SYS_MAXSYSCALL 327
OpenPOWER on IntegriCloud