Last change
on this file since 3869 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 |
|
---|
13 | struct shmid_ds {
|
---|
14 | size_t shm_segsz;
|
---|
15 | };
|
---|
16 |
|
---|
17 | int shmget(int key, size_t size, int flags);
|
---|
18 | void* shmat(int shmid, void*, int);
|
---|
19 | int shmctl(int shmid, int cmd, struct shmid_ds* buf);
|
---|
20 | int shmdt(const void *addr);
|
---|
21 |
|
---|
22 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.