summaryrefslogtreecommitdiffstats
path: root/source/smbwrapper/realcalls.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-10-03 15:28:47 +0000
committerAndrew Tridgell <tridge@samba.org>1998-10-03 15:28:47 +0000
commita42729dbf5414f54e5d623514533958c62ada5f6 (patch)
tree3d53e279bba8ec0773eccad3c16282f59aa4ca4c /source/smbwrapper/realcalls.h
parent1dcc84b942d4669f978aebdeaf85ea609c2b732f (diff)
downloadsamba-a42729dbf5414f54e5d623514533958c62ada5f6.tar.gz
samba-a42729dbf5414f54e5d623514533958c62ada5f6.tar.xz
samba-a42729dbf5414f54e5d623514533958c62ada5f6.zip
added fchdir() support
Diffstat (limited to 'source/smbwrapper/realcalls.h')
-rw-r--r--source/smbwrapper/realcalls.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/smbwrapper/realcalls.h b/source/smbwrapper/realcalls.h
index f9718a1ef18..53f110fe4ab 100644
--- a/source/smbwrapper/realcalls.h
+++ b/source/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