Dr Andrew Scott G7VAV

My photo
 
June 2025
Mo Tu We Th Fr Sa Su
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 1 2 3 4 5 6


sembuf.h
01: #ifndef _ASM_X86_SEMBUF_H
02: #define _ASM_X86_SEMBUF_H
03: 
04: /*
05:  * The semid64_ds structure for x86 architecture.
06:  * Note extra padding because this structure is passed back and forth
07:  * between kernel and user space.
08:  *
09:  * Pad space is left for:
10:  * - 64-bit time_t to solve y2038 problem
11:  * - 2 miscellaneous 32-bit values
12:  */
13: struct semid64_ds {
14:         struct ipc64_perm sem_perm;     /* permissions .. see ipc.h */
15:         __kernel_time_t sem_otime;      /* last semop time */
16:         unsigned long   __unused1;
17:         __kernel_time_t sem_ctime;      /* last change time */
18:         unsigned long   __unused2;
19:         unsigned long   sem_nsems;      /* no. of semaphores in array */
20:         unsigned long   __unused3;
21:         unsigned long   __unused4;
22: };
23: 
24: #endif /* _ASM_X86_SEMBUF_H */
25: 


for client (none)
© Andrew Scott 2006 - 2025,
All Rights Reserved
http://www.andrew-scott.uk/
Andrew Scott
http://www.andrew-scott.co.uk/