mirror of
git://git.musl-libc.org/musl
synced 2024-12-28 09:53:24 +00:00
6315004f61
basically, this version of the code was obtained by starting with rdp's work from his ellcc source tree, adapting it to musl's build system and coding style, auditing the bits headers for discrepencies with kernel definitions or glibc/LSB ABI or large file issues, fixing up incompatibility with the old binutils from aboriginal linux, and adding some new special cases to deal with the oddities of sigaction and pipe syscall interfaces on mips. at present, minimal test programs work, but some interfaces are broken or missing. threaded programs probably will not link.
19 lines
300 B
C
19 lines
300 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;
|
|
};
|