/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: unix95:sys/mman.h (VERSION 2.7)
*/

#ifndef __TDF_UNIX95_SYS_MMAN_H
#define __TDF_UNIX95_SYS_MMAN_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__unix95__sys_mman begin

#ifndef __TDF_ANSI_STDDEF_H_SIZE_T
#pragma extend interface "../../shared/ansi.api/size_t.h"
#endif /* __TDF_ANSI_STDDEF_H_SIZE_T */
#ifndef __TDF_POSIX_SYS_TYPES_H_OFF_T
#pragma extend interface "../../shared/posix.api/off_t.h"
#endif /* __TDF_POSIX_SYS_TYPES_H_OFF_T */
#pragma token EXP const : int : PROT_READ # unix95.mman.PROT_READ
#pragma token EXP const : int : PROT_WRITE # unix95.mman.PROT_WRITE
#pragma token EXP const : int : PROT_EXEC # unix95.mman.PROT_EXEC
#pragma token EXP const : int : PROT_NONE # unix95.mman.PROT_NONE
#pragma token EXP const : int : MAP_SHARED # unix95.mman.MAP_SHARED
#pragma token EXP const : int : MAP_PRIVATE # unix95.mman.MAP_PRIVATE
#pragma token EXP const : int : MAP_FIXED # unix95.mman.MAP_FIXED
#pragma token EXP const : int : MS_ASYNC # unix95.mman.MS_ASYNC
#pragma token EXP const : int : MS_SYNC # unix95.mman.MS_SYNC
#pragma token EXP const : int : MS_INVALIDATE # unix95.mman.MS_INVALIDATE
#pragma token FUNC void * (void *, size_t, int, int, int, off_t) : mmap # unix95.mman.mmap
#pragma token FUNC int (void *, size_t, int) : mprotect # unix95.mman.mprotect
#pragma token FUNC int (void *, size_t, int) : msync # unix95.mman.msync
#pragma token FUNC int (void *, size_t) : munmap # unix95.mman.munmap

#pragma interface PROT_READ PROT_WRITE PROT_EXEC PROT_NONE MAP_SHARED
#pragma interface MAP_PRIVATE MAP_FIXED MS_ASYNC MS_SYNC MS_INVALIDATE mmap
#pragma interface mprotect msync munmap

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_UNIX95_SYS_MMAN_H */
