~ubuntu-branches/ubuntu/wily/musl/wily

« back to all changes in this revision

Viewing changes to include/sys/sem.h

  • Committer: Package Import Robot
  • Author(s): Kevin Bortis
  • Date: 2014-03-22 09:39:56 UTC
  • mfrom: (4.1.2 sid)
  • Revision ID: package-import@ubuntu.com-20140322093956-1oc4xt9b2n3domo7
Tags: 1.0.0-1
* Import upstream version 1.0.0
* Provide musl-ldd (Closes: #732169)
* Arch independent ld-musl-config (Closes: #739205)

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
 
28
28
#include <endian.h>
29
29
 
30
 
struct semid_ds {
31
 
        struct ipc_perm sem_perm;
32
 
        long sem_otime;
33
 
        unsigned long __unused1;
34
 
        long sem_ctime;
35
 
        unsigned long __unused2;
36
 
#if __BYTE_ORDER == __LITTLE_ENDIAN
37
 
        unsigned short sem_nsems;
38
 
        char __sem_nsems_pad[sizeof(long)-sizeof(short)];
39
 
#else
40
 
        char __sem_nsems_pad[sizeof(long)-sizeof(short)];
41
 
        unsigned short sem_nsems;
42
 
#endif
43
 
        unsigned long __unused3;
44
 
        unsigned long __unused4;
45
 
};
 
30
#include <bits/sem.h>
46
31
 
47
32
#define _SEM_SEMUN_UNDEFINED 1
48
33