diff options
author | phk <phk@FreeBSD.org> | 1997-09-14 16:51:31 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-09-14 16:51:31 +0000 |
commit | b079abc11c97decabfeb4683ebd3561674cdf55d (patch) | |
tree | 2b771099ba7453b6556716fa8dcf87c1f0f6f017 /sys/sys/syscall.h | |
parent | e2ce0d677e459daf5a1afb3e7317c7d9b2fdfe1c (diff) | |
download | FreeBSD-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.h | 3 |
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 |