MODULE C99sys_mman ['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; CONST PROT_EXEC* = 4; PROT_NONE* = 0; PROT_READ* = 1; PROT_WRITE* = 2; CONST MAP_FIXED* = 16; MAP_PRIVATE* = 2; MAP_SHARED* = 1; CONST MS_ASYNC* = 1; MS_INVALIDATE* = 2; MS_SYNC* = 4; CONST MCL_CURRENT* = 1; MCL_FUTURE* = 2; CONST MAP_FAILED* = -1; CONST POSIX_MADV_DONTNEED* = 4; POSIX_MADV_NORMAL* = 0; POSIX_MADV_RANDOM* = 1; POSIX_MADV_SEQUENTIAL* = 2; POSIX_MADV_WILLNEED* = 3; TYPE mode_t* = C99sys_types.mode_t; off_t* = C99sys_types.off_t; size_t* = C99sys_types.size_t; PROCEDURE [ccall] mlock* (addr: C99types.Pvoid; len: size_t): int; PROCEDURE [ccall] mlockall* (flags: int): int; PROCEDURE [ccall] mmap* (addr: C99types.Pvoid; len: size_t; prot, flags, fildes: int; off: off_t): C99types.Pvoid; PROCEDURE [ccall] mprotect* (addr: C99types.Pvoid; len: size_t; prot: int): int; PROCEDURE [ccall] msync* (addr: C99types.Pvoid; len: size_t; flags: int): int; PROCEDURE [ccall] munlock* (addr: C99types.Pvoid; len: size_t): int; PROCEDURE [ccall] munlockall* (): int; PROCEDURE [ccall] munmap* (addr: C99types.Pvoid; len: size_t): int; PROCEDURE [ccall] posix_madvise* (addr: C99types.Pvoid; len: size_t; advice: int): int; PROCEDURE [ccall] posix_mem_offset* (addr: C99types.Pvoid; len: size_t; VAR off: off_t; VAR contng_len: size_t; VAR fildes: int): int; PROCEDURE [ccall] shm_open* (IN name: ARRAY [untagged] OF SHORTCHAR; oflag, mode: int): int; PROCEDURE [ccall] shm_unlink* (IN name: ARRAY [untagged] OF SHORTCHAR): int; END C99sys_mman.