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/kern/syscalls.master | |
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/kern/syscalls.master')
-rw-r--r-- | sys/kern/syscalls.master | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master index 6a19917..62673fa 100644 --- a/sys/kern/syscalls.master +++ b/sys/kern/syscalls.master @@ -1,4 +1,4 @@ - $Id: syscalls.master,v 1.41 1997/08/19 05:53:48 peter Exp $ + $Id: syscalls.master,v 1.42 1997/09/14 02:22:05 peter Exp $ ; from: @(#)syscalls.master 8.2 (Berkeley) 1/13/94 ; ; System call name/number master file. @@ -476,3 +476,4 @@ 323 STD BSD { int thr_wakeup(pid_t pid); } 324 STD BSD { int mlockall(int how); } 325 STD BSD { int munlockall(void); } +326 STD BSD { int __getcwd(u_char *buf, u_int buflen); } |