blob: bf71c8c6e57dbceaac21ee112cdeabf1de8e9be0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef _ABIBITS_SHM_H
#define _ABIBITS_SHM_H
#ifdef __cplusplus
extern "C" {
#endif
#include <unistd.h>
struct shm_info {
int used_ids;
unsigned long shm_tot;
unsigned long shm_rss;
unsigned long shm_swp;
unsigned long swap_attempts;
unsigned long swap_successes;
};
#define SHMLBA (getpagesize())
#ifdef __cplusplus
}
#endif
#endif /* _ABIBITS_SHM_H */
|