source: Sophya/trunk/SophyaLib/UnixMac/include/macshm.h@ 3663

Last change on this file since 3663 was 683, checked in by ansari, 26 years ago

Compilation Mac pour CodeWarrior PRO 5

File size: 398 bytes
Line 
1//
2// Simulation de memoire partagee pour mac
3//
4
5#ifndef MACSHM_H_SEEN
6#define MACSHM_H_SEEN
7
8#define IPC_STAT 1
9#define IPC_RMID 2
10#define IPC_CREAT 0x0100
11#define IPC_EXCL 0x0200
12
13struct shmid_ds {
14 size_t shm_segsz;
15};
16
17int shmget(int key, size_t size, int flags);
18void* shmat(int shmid, void*, int);
19int shmctl(int shmid, int cmd, struct shmid_ds* buf);
20int shmdt(const void *addr);
21
22#endif
Note: See TracBrowser for help on using the repository browser.