mm.h | mm.h | |||
---|---|---|---|---|
skipping to change at line 287 | skipping to change at line 287 | |||
/* | /* | |||
* Define the structure describing a shared memory core area | * Define the structure describing a shared memory core area | |||
* (the actual contents depends on the shared memory and | * (the actual contents depends on the shared memory and | |||
* semaphore/mutex type and is stripped down to a minimum | * semaphore/mutex type and is stripped down to a minimum | |||
* required) | * required) | |||
*/ | */ | |||
struct mem_core { | struct mem_core { | |||
size_t mc_size; | size_t mc_size; | |||
size_t mc_usize; | size_t mc_usize; | |||
pid_t mc_pid; | pid_t mc_pid; | |||
#if defined(MM_SHMT_IPCSHM) | ||||
int mc_fdmem; | int mc_fdmem; | |||
#endif | ||||
#if defined(MM_SHMT_MMFILE) | #if defined(MM_SHMT_MMFILE) | |||
char mc_fnmem[MM_MAXPATH]; | char mc_fnmem[MM_MAXPATH]; | |||
#endif | #endif | |||
#if defined(MM_SHMT_BEOS) | #if defined(MM_SHMT_BEOS) | |||
area_id mc_areaid; | area_id mc_areaid; | |||
#endif | #endif | |||
#if !defined(MM_SEMT_FLOCK) | #if !defined(MM_SEMT_FLOCK) | |||
int mc_fdsem; | int mc_fdsem; | |||
#endif | #endif | |||
#if defined(MM_SEMT_FLOCK) | #if defined(MM_SEMT_FLOCK) | |||
End of changes. 2 change blocks. | ||||
0 lines changed or deleted | 2 lines changed or added | |||