Apache-2.0
2021 inet.af; The Go Authors; The gVisor Authors; Lucent Technologies Inc.; Vita Nuova Holdings Limited (www.vitanuova.com)
debian/copyright
| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
package linux |
| 16 |
|
| 17 |
|
| 18 |
const ( |
| 19 |
GETPID = 11 |
| 20 |
GETVAL = 12 |
| 21 |
GETALL = 13 |
| 22 |
GETNCNT = 14 |
| 23 |
GETZCNT = 15 |
| 24 |
SETVAL = 16 |
| 25 |
SETALL = 17 |
| 26 |
) |
| 27 |
|
| 28 |
|
| 29 |
const ( |
| 30 |
SEM_STAT = 18 |
| 31 |
SEM_INFO = 19 |
| 32 |
SEM_STAT_ANY = 20 |
| 33 |
) |
| 34 |
|
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
const ( |
| 39 |
SEMMNI = 32000 |
| 40 |
SEMMSL = 32000 |
| 41 |
SEMMNS = SEMMNI * SEMMSL |
| 42 |
SEMOPM = 500 |
| 43 |
SEMVMX = 32767 |
| 44 |
SEMAEM = SEMVMX |
| 45 |
|
| 46 |
SEMUME = SEMOPM |
| 47 |
SEMMNU = SEMMNS |
| 48 |
SEMMAP = SEMMNS |
| 49 |
SEMUSZ = 20 |
| 50 |
) |
| 51 |
|
| 52 |
|
| 53 |
const ( |
| 54 |
SEM_UNDO = 0x1000 |
| 55 |
) |
| 56 |
|
| 57 |
|
| 58 |
|
| 59 |
|
| 60 |
type Sembuf struct { |
| 61 |
SemNum uint16 |
| 62 |
SemOp int16 |
| 63 |
SemFlg int16 |
| 64 |
} |
| 65 |
|
| 66 |
|
| 67 |
|
| 68 |
|
| 69 |
|
| 70 |
|
| 71 |
type SemInfo struct { |
| 72 |
SemMap uint32 |
| 73 |
SemMni uint32 |
| 74 |
SemMns uint32 |
| 75 |
SemMnu uint32 |
| 76 |
SemMsl uint32 |
| 77 |
SemOpm uint32 |
| 78 |
SemUme uint32 |
| 79 |
SemUsz uint32 |
| 80 |
SemVmx uint32 |
| 81 |
SemAem uint32 |
| 82 |
} |