1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
2000-11-28  Andreas Jaeger  <aj@suse.de>

	* sysdeps/unix/sysv/linux/getdents.c: Add _syscall_getdents64
	declaration, adjust declaration of __syscall_getdents to match
	kernel.
This commit is contained in:
Andreas Jaeger
2000-11-30 17:42:48 +00:00
parent a0f5c800f3
commit 559dce193e
4 changed files with 10 additions and 3 deletions

View File

@ -48,7 +48,8 @@ extern int __have_no_getdents64;
#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)
extern int __syscall_getdents (int fd, char *__unbounded buf, size_t nbytes);
extern int __syscall_getdents (int fd, char *__unbounded buf, unsigned int nbytes);
extern int __syscall_getdents64 (int fd, char *__unbounded buf, unsigned int nbytes);
/* For Linux we need a special version of this file since the
definition of `struct dirent' is not the same for the kernel and