summaryrefslogtreecommitdiff
path: root/src/bin/common/shmfile.h
blob: f70a8fd15739878c1096da07a9c4b45a55182245 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef SHMFILE_H
#define SHMFILE_H 1

#ifdef __cplusplus
extern "C" {
#endif
   
extern int   shm_fd;
extern int   shm_size;
extern void *shm_addr;
extern char *shmfile;

void shm_alloc  (unsigned long dsize);
void shm_free   (void);

#ifdef __cplusplus
}
#endif

#endif