mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-10 07:10:06 +00:00
Declare __getdirentries in internal dirent.h.
This commit is contained in:
parent
a3f95dcc57
commit
67cc348d55
@ -1,5 +1,7 @@
|
|||||||
2012-08-15 Roland McGrath <roland@hack.frob.com>
|
2012-08-15 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* include/dirent.h: Declare __getdirentries.
|
||||||
|
|
||||||
* sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
|
* sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
|
||||||
using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
|
using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
|
||||||
|
|
||||||
|
@ -30,6 +30,10 @@ extern int __scandir64 (const char * __dir,
|
|||||||
int (*__selector) (const struct dirent64 *),
|
int (*__selector) (const struct dirent64 *),
|
||||||
int (*__cmp) (const struct dirent64 **,
|
int (*__cmp) (const struct dirent64 **,
|
||||||
const struct dirent64 **));
|
const struct dirent64 **));
|
||||||
|
extern __ssize_t __getdirentries (int __fd, char *__restrict __buf,
|
||||||
|
size_t __nbytes,
|
||||||
|
__off_t *__restrict __basep)
|
||||||
|
__THROW __nonnull ((2, 4));
|
||||||
extern __ssize_t __getdents (int __fd, char *__buf, size_t __nbytes)
|
extern __ssize_t __getdents (int __fd, char *__buf, size_t __nbytes)
|
||||||
internal_function;
|
internal_function;
|
||||||
extern __ssize_t __getdents64 (int __fd, char *__buf, size_t __nbytes)
|
extern __ssize_t __getdents64 (int __fd, char *__buf, size_t __nbytes)
|
||||||
|
Loading…
Reference in New Issue
Block a user