File: dirent.h

package info (click to toggle)
gccxml 0.7.0%2Bcvs20060311-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 45,240 kB
  • ctags: 59,007
  • sloc: ansic: 589,435; asm: 19,610; cpp: 12,681; sh: 4,326; yacc: 3,727; makefile: 3,074; perl: 318; lex: 307; awk: 117; pascal: 78; sed: 20
file content (23 lines) | stat: -rw-r--r-- 320 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef DIRENT_H
#define DIRENT_H

typedef struct DIR_s DIR;

struct dirent
{
  char d_name[256];
};

DIR* opendir(const char*);
struct dirent* readdir(DIR*);
int closedir(DIR*);

/* Hack for cppfiles.c.  */
#if defined(_MSC_VER)
# include <io.h>
# undef S_ISBLK
# define S_ISBLK(x) 0
# define open _open
#endif

#endif