diff options
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r-- | newlib/libc/sys/decstation/sys/dirent.h | 2 | ||||
-rw-r--r-- | newlib/libc/sys/linux/sys/dirent.h | 2 | ||||
-rw-r--r-- | newlib/libc/sys/rtems/sys/dirent.h | 2 | ||||
-rw-r--r-- | newlib/libc/sys/sparc64/sys/dirent.h | 2 | ||||
-rw-r--r-- | newlib/libc/sys/sun4/sys/dirent.h | 2 | ||||
-rw-r--r-- | newlib/libc/sys/sysvi386/sys/dirent.h | 2 |
6 files changed, 12 insertions, 0 deletions
diff --git a/newlib/libc/sys/decstation/sys/dirent.h b/newlib/libc/sys/decstation/sys/dirent.h index c5a90e9fe..c3abda639 100644 --- a/newlib/libc/sys/decstation/sys/dirent.h +++ b/newlib/libc/sys/decstation/sys/dirent.h @@ -25,6 +25,8 @@ typedef struct __dirdesc { DIR *opendir (const char *); struct dirent *readdir (DIR *); +int readdir_r (DIR *__restrict, struct dirent *__restrict, + struct dirent **__restrict); void rewinddir (DIR *); int closedir (DIR *); diff --git a/newlib/libc/sys/linux/sys/dirent.h b/newlib/libc/sys/linux/sys/dirent.h index ec8ed89d4..a67378b5b 100644 --- a/newlib/libc/sys/linux/sys/dirent.h +++ b/newlib/libc/sys/linux/sys/dirent.h @@ -36,6 +36,8 @@ typedef struct { DIR *opendir(const char *); struct dirent *readdir(DIR *); +int readdir_r(DIR *__restrict, struct dirent *__restrict, + struct dirent **__restrict); void rewinddir(DIR *); int closedir(DIR *); diff --git a/newlib/libc/sys/rtems/sys/dirent.h b/newlib/libc/sys/rtems/sys/dirent.h index c52c7bcf7..8d2aa38cb 100644 --- a/newlib/libc/sys/rtems/sys/dirent.h +++ b/newlib/libc/sys/rtems/sys/dirent.h @@ -26,6 +26,8 @@ typedef struct _dirdesc { DIR *opendir(const char *); struct dirent *readdir(DIR *); +int readdir_r(DIR *__restrict, struct dirent *__restrict, + struct dirent **__restrict); void rewinddir(DIR *); int closedir(DIR *); void seekdir(DIR *dir, long loc); diff --git a/newlib/libc/sys/sparc64/sys/dirent.h b/newlib/libc/sys/sparc64/sys/dirent.h index 864bb5ca1..cb933b457 100644 --- a/newlib/libc/sys/sparc64/sys/dirent.h +++ b/newlib/libc/sys/sparc64/sys/dirent.h @@ -21,6 +21,8 @@ typedef struct __dirdesc { DIR *opendir (const char *); struct dirent *readdir (DIR *); +int readdir_r (DIR *__restrict, struct dirent *__restrict, + struct dirent **__restrict); void rewinddir (DIR *); int closedir (DIR *); diff --git a/newlib/libc/sys/sun4/sys/dirent.h b/newlib/libc/sys/sun4/sys/dirent.h index b7ca90b0d..2e6fc456f 100644 --- a/newlib/libc/sys/sun4/sys/dirent.h +++ b/newlib/libc/sys/sun4/sys/dirent.h @@ -23,6 +23,8 @@ typedef struct __dirdesc { DIR *opendir (const char *); struct dirent *readdir (DIR *); +int readdir_r (DIR *__restrict, struct dirent *__restrict, + struct dirent **__restrict); void rewinddir (DIR *); int closedir (DIR *); diff --git a/newlib/libc/sys/sysvi386/sys/dirent.h b/newlib/libc/sys/sysvi386/sys/dirent.h index 728042176..06af4faac 100644 --- a/newlib/libc/sys/sysvi386/sys/dirent.h +++ b/newlib/libc/sys/sysvi386/sys/dirent.h @@ -20,6 +20,8 @@ typedef struct _dirdesc { DIR *opendir (const char *); struct dirent *readdir (DIR *); +int readdir_r (DIR *__restrict, struct dirent *__restrict, + struct dirent **__restrict); void rewinddir (DIR *); int closedir (DIR *); |