… | |
… | |
90 | # define EIO_STRUCT_STATVFS struct statvfs |
90 | # define EIO_STRUCT_STATVFS struct statvfs |
91 | #endif |
91 | #endif |
92 | |
92 | |
93 | /* managing working directories */ |
93 | /* managing working directories */ |
94 | |
94 | |
95 | typedef void *eio_wd; |
95 | typedef struct eio_pwd *eio_wd; |
96 | |
96 | |
97 | #define EIO_CWD 0 /* the current working directory of the process, guaranteed to be a null pointer */ |
97 | #define EIO_CWD 0 /* the current working directory of the process, guaranteed to be a null pointer */ |
98 | #define EIO_INVALID_WD ((eio_wd)(int)-1) /* failure return for eio_wd_open */ |
98 | #define EIO_INVALID_WD ((eio_wd)(int)-1) /* failure return for eio_wd_open */ |
99 | |
99 | |
100 | eio_wd eio_wd_open_sync (eio_wd wd, const char *path); |
100 | eio_wd eio_wd_open_sync (eio_wd wd, const char *path); |