sembuf.h 756 B

123456789101112131415161718192021222324252627
  1. #ifndef _PPC64_SEMBUF_H
  2. #define _PPC64_SEMBUF_H
  3. /*
  4. * The semid64_ds structure for PPC architecture.
  5. *
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License
  9. * as published by the Free Software Foundation; either version
  10. * 2 of the License, or (at your option) any later version.
  11. *
  12. * Pad space is left for:
  13. * - 2 miscellaneous 64-bit values
  14. */
  15. struct semid64_ds {
  16. struct ipc64_perm sem_perm; /* permissions .. see ipc.h */
  17. __kernel_time_t sem_otime; /* last semop time */
  18. __kernel_time_t sem_ctime; /* last change time */
  19. unsigned long sem_nsems; /* no. of semaphores in array */
  20. unsigned long __unused1;
  21. unsigned long __unused2;
  22. };
  23. #endif /* _PPC64_SEMBUF_H */