msgbuf.h 948 B

123456789101112131415161718192021222324252627
  1. #ifndef _PPC64_MSGBUF_H
  2. #define _PPC64_MSGBUF_H
  3. /*
  4. * The msqid64_ds structure for the PPC architecture.
  5. *
  6. * This program is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU General Public License
  8. * as published by the Free Software Foundation; either version
  9. * 2 of the License, or (at your option) any later version.
  10. */
  11. struct msqid64_ds {
  12. struct ipc64_perm msg_perm;
  13. __kernel_time_t msg_stime; /* last msgsnd time */
  14. __kernel_time_t msg_rtime; /* last msgrcv time */
  15. __kernel_time_t msg_ctime; /* last change time */
  16. unsigned long msg_cbytes; /* current number of bytes on queue */
  17. unsigned long msg_qnum; /* number of messages in queue */
  18. unsigned long msg_qbytes; /* max number of bytes on queue */
  19. __kernel_pid_t msg_lspid; /* pid of last msgsnd */
  20. __kernel_pid_t msg_lrpid; /* last receive pid */
  21. unsigned long __unused1;
  22. unsigned long __unused2;
  23. };
  24. #endif /* _PPC64_MSGBUF_H */