diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-03 15:28:47 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-03 15:28:47 +0000 |
commit | 86701c6a3cb2d8d0dabdd6cf42acfd97779eac85 (patch) | |
tree | 431abef179164c4d278ba33bbed85a20193af992 /source3/smbwrapper/realcalls.h | |
parent | f2d8f110db994588cb85a9c0c22c0941f4ccca38 (diff) | |
download | samba-86701c6a3cb2d8d0dabdd6cf42acfd97779eac85.tar.gz samba-86701c6a3cb2d8d0dabdd6cf42acfd97779eac85.tar.bz2 samba-86701c6a3cb2d8d0dabdd6cf42acfd97779eac85.zip |
added fchdir() support
(This used to be commit a42729dbf5414f54e5d623514533958c62ada5f6)
Diffstat (limited to 'source3/smbwrapper/realcalls.h')
-rw-r--r-- | source3/smbwrapper/realcalls.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbwrapper/realcalls.h b/source3/smbwrapper/realcalls.h index f9718a1ef1..53f110fe4a 100644 --- a/source3/smbwrapper/realcalls.h +++ b/source3/smbwrapper/realcalls.h @@ -35,6 +35,7 @@ struct dirent *__libc_readdir(DIR * dir); #define real_lseek(fd, offset, whence) (syscall(SYS_lseek, (fd), (offset), (whence))) #define real_write(fd, buf, count ) (syscall(SYS_write, (fd), (buf), (count))) #define real_close(fd) (syscall(SYS_close, (fd))) +#define real_fchdir(fd) (syscall(SYS_fchdir, (fd))) #define real_fcntl(fd,cmd,arg) (syscall(SYS_fcntl, (fd), (cmd), (arg))) #define real_symlink(fn1, fn2) (syscall(SYS_symlink, (fn1), (fn2))) #define real_unlink(fn) (syscall(SYS_unlink, (fn))) @@ -42,7 +43,6 @@ struct dirent *__libc_readdir(DIR * dir); #define real_mkdir(fn, mode) (syscall(SYS_mkdir, (fn), (mode))) #define real_utime(fn, buf) (syscall(SYS_utime, (fn), (buf))) #define real_utimes(fn, buf) (syscall(SYS_utimes, (fn), (buf))) -#define real_readlink(fn, buf, bufs) (syscall(SYS_readlink, (fn), (buf), (bufs))) #endif |