projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sysvipc: overhaul {sem,shm,msg}ctl for time64
[musl]
/
src
/
ipc
/
ipc.h
diff --git
a/src/ipc/ipc.h
b/src/ipc/ipc.h
index
36f3e21
..
746a905
100644
(file)
--- a/
src/ipc/ipc.h
+++ b/
src/ipc/ipc.h
@@
-16,3
+16,9
@@
#ifndef IPC_64
#define IPC_64 0x100
#endif
+
+#define IPC_TIME64 (IPC_STAT & 0x100)
+
+#define IPC_CMD(cmd) (((cmd) & ~IPC_TIME64) | IPC_64)
+
+#define IPC_HILO(b,t) ((b)->t = (b)->__##t##_lo | 0LL+(b)->__##t##_hi<<32)