mirror of
git://git.musl-libc.org/musl
synced 2024-12-20 13:51:47 +00:00
befa5866ee
placing the opening brace on the same line as the struct keyword/tag is the style I prefer and seems to be the prevailing practice in more recent additions. these changes were generated by the command: find include/ arch/*/bits -name '*.h' \ -exec sed -i '/^struct [^;{]*$/{N;s/\n/ /;}' {} + and subsequently checked by hand to ensure that the regex did not pick up any false positives.
29 lines
521 B
C
29 lines
521 B
C
#define SHMLBA 4096
|
|
|
|
struct shmid_ds {
|
|
struct ipc_perm shm_perm;
|
|
size_t shm_segsz;
|
|
time_t shm_atime;
|
|
int __unused1;
|
|
time_t shm_dtime;
|
|
int __unused2;
|
|
time_t shm_ctime;
|
|
int __unused3;
|
|
pid_t shm_cpid;
|
|
pid_t shm_lpid;
|
|
unsigned long shm_nattch;
|
|
unsigned long __pad1;
|
|
unsigned long __pad2;
|
|
};
|
|
|
|
struct shminfo {
|
|
unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4];
|
|
};
|
|
|
|
struct shm_info {
|
|
int __used_ids;
|
|
unsigned long shm_tot, shm_rss, shm_swp;
|
|
unsigned long __swap_attempts, __swap_successes;
|
|
};
|
|
|