/*
    AUTOMATICALLY GENERATED BY tspec 2.10
    API SUBSET: xpg3:sys/shm.h (VERSION 2.6)
*/

#ifndef __TDF_XPG3_SYS_SHM_H
#define __TDF_XPG3_SYS_SHM_H

#ifdef __cplusplus
extern "C" {
#endif

#pragma TenDRA declaration block api__xpg3__sys_shm begin

#ifndef __TDF_XPG3_SYS_TYPES_H
#pragma extend interface "../../xpg3.api/sys/types.h"
#endif /* __TDF_XPG3_SYS_TYPES_H */
#ifndef __TDF_XPG3_SYS_IPC_H
#pragma extend interface "../../xpg3.api/sys/ipc.h"
#endif /* __TDF_XPG3_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 */
#ifndef __BUILDING_LIBS
#pragma token FUNC char * (int, char *, int) : shmat # xpg3.shm.shmat
#pragma token FUNC int (char *) : shmdt # xpg3.shm.shmdt
#pragma token FUNC int (key_t, int, int) : shmget # xpg3.shm.shmget
#else /* __BUILDING_LIBS */
#pragma token FUNC char * (int, char *, int) : __old_shmat # xpg3.shm.shmat
#pragma token FUNC int (char *) : __old_shmdt # xpg3.shm.shmdt
#pragma token FUNC int (key_t, int, int) : __old_shmget # xpg3.shm.shmget
#endif /* __BUILDING_LIBS */

#ifndef __BUILDING_LIBS
#pragma interface shmat shmdt shmget
#else /* __BUILDING_LIBS */
#pragma interface __old_shmat __old_shmdt __old_shmget
#endif /* __BUILDING_LIBS */

#pragma TenDRA declaration block end

#ifdef __cplusplus
}
#endif

#endif /* __TDF_XPG3_SYS_SHM_H */


syntax highlighted by Code2HTML, v. 0.9.1