X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fipc%2Fipc.h;h=746a905c986a02a4bca7f9dbd0db2c87e9f9c952;hb=8b2497047010e199bb04ed45e25a03c6f1e517fa;hp=36f3e2132455cc86ddeabbd1d33755df496d921b;hpb=fe5e72ae782238038ba4eaa3e1889e7bd16fecec;p=musl diff --git a/src/ipc/ipc.h b/src/ipc/ipc.h index 36f3e213..746a905c 100644 --- 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)