Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/include/dirent.h

    r23c8acd9 rbebd154  
    3333 */
    3434
    35 #ifndef LIBC_DIRENT_H_
    36 #define LIBC_DIRENT_H_
     35#ifndef _LIBC_DIRENT_H_
     36#define _LIBC_DIRENT_H_
    3737
    38 #define NAME_MAX  256
     38#include <_bits/decls.h>
    3939
    40 #include <offset.h>
     40__C_DECLS_BEGIN;
    4141
    4242struct dirent {
    43         char d_name[NAME_MAX + 1];
     43        char d_name[256];
    4444};
    4545
    46 typedef struct {
    47         int fd;
    48         struct dirent res;
    49         aoff64_t pos;
    50 } DIR;
     46typedef struct __dirstream DIR;
    5147
    5248extern DIR *opendir(const char *);
     
    5551extern int closedir(DIR *);
    5652
     53__C_DECLS_END;
     54
    5755#endif
    5856
Note: See TracChangeset for help on using the changeset viewer.