/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: xpg4:sys/shm.h
*/

#ifndef __TDF_XPG4_SYS_SHM_H
#define __TDF_XPG4_SYS_SHM_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__xpg4__sys_shm begin

#ifndef __TDF_XPG4_SYS_TYPES_H
#pragma extend interface "../../xpg4.api/sys/types.h"
#endif /* __TDF_XPG4_SYS_TYPES_H */
#ifndef __TDF_XPG4_SYS_IPC_H
#pragma extend interface "../../xpg4.api/sys/ipc.h"
#endif /* __TDF_XPG4_SYS_IPC_H */
#ifndef __TDF_XPG3_SYS_SHM_H_SHM_PROTO
#pragma extend interface "../../shared/xpg3.api/shm_prot.h"
#endif /* __TDF_XPG3_SYS_SHM_H_SHM_PROTO */
#pragma token FUNC void * (int, const void *, int) : shmat # xpg4.shm.shmat
#pragma token FUNC int (const void *) : shmdt # xpg4.shm.shmdt
#pragma token FUNC int (key_t, size_t, int) : shmget # xpg4.shm.shmget
/* Define XPG4 hack in terms of my hack */
typedef __local_shm_nattch_t shmatt_t;

#pragma interface shmat shmdt shmget

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_XPG4_SYS_SHM_H */
