MODULE C99dirent ['libc.so.6']; (* generated by genposix.sh, do not modify *) IMPORT SYSTEM, C99types, C99sys_types; TYPE char* = C99types.char; signed_char* = C99types.signed_char; unsigned_char* = C99types.unsigned_char; short* = C99types.short; short_int* = C99types.short_int; signed_short* = C99types.signed_short; signed_short_int* = C99types.signed_short_int; unsigned_short* = C99types.unsigned_short; unsigned_short_int* = C99types.unsigned_short_int; int* = C99types.int; signed* = C99types.signed; signed_int* = C99types.signed_int; unsigned* = C99types.unsigned; unsigned_int* = C99types.unsigned_int; long* = C99types.long; long_int* = C99types.long_int; signed_long* = C99types.signed_long; signed_long_int* = C99types.signed_long_int; unsigned_long* = C99types.unsigned_long; unsigned_long_int* = C99types.unsigned_long_int; long_long* = C99types.long_long; long_long_int* = C99types.long_long_int; signed_long_long* = C99types.signed_long_long; signed_long_long_int* = C99types.signed_long_long_int; unsigned_long_long* = C99types.unsigned_long_long; unsigned_long_long_int* = C99types.unsigned_long_long_int; float* = C99types.float; double* = C99types.double; long_double* = C99types.long_double; TYPE PDIR* = POINTER TO DIR; DIR = LIMITED RECORD [untagged] END; TYPE Pstruct_dirent* = POINTER TO struct_dirent; struct_dirent* = RECORD [noalign] (* 268 *) d_ino*: ino_t; (* 0+4 *) _____align0_____: ARRAY 7 OF BYTE; d_name*: ARRAY [untagged] 256 OF SHORTCHAR; (* 11+256 *) _____align1_____: ARRAY 1 OF BYTE; END; TYPE ino_t* = C99sys_types.ino_t; PROCEDURE [ccall] alphasort* (IN a, b: Pstruct_dirent): int; PROCEDURE [ccall] closedir* (dirp: PDIR): int; PROCEDURE [ccall] dirfd* (dirp: PDIR): int; PROCEDURE [ccall] fdopendir* (fd: int): PDIR; PROCEDURE [ccall] opendir* (IN name: ARRAY [untagged] OF SHORTCHAR): PDIR; PROCEDURE [ccall] readdir* (dirp: PDIR): Pstruct_dirent; PROCEDURE [ccall] readdir_r* (dirp: PDIR; entry: Pstruct_dirent; VAR result: Pstruct_dirent): int; PROCEDURE [ccall] rewinddir* (dirp: PDIR); PROCEDURE [ccall] scandir* (IN dirp: ARRAY [untagged] OF SHORTCHAR; filter: PROCEDURE [ccall] (IN d: struct_dirent): int; compar: PROCEDURE [ccall] (IN a, b: Pstruct_dirent): int): int; PROCEDURE [ccall] seekdir* (dirp: PDIR; loc: long); PROCEDURE [ccall] telldir* (dirp: PDIR): long; END C99dirent.