The Design and Implementation of the FreeBSD Operating System, Second Edition
Now available: The Design and Implementation of the FreeBSD Operating System (Second Edition)


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]

FreeBSD/Linux Kernel Cross Reference
sys/compat/sys/msg.h

Version: -  FREEBSD  -  FREEBSD-13-STABLE  -  FREEBSD-13-0  -  FREEBSD-12-STABLE  -  FREEBSD-12-0  -  FREEBSD-11-STABLE  -  FREEBSD-11-0  -  FREEBSD-10-STABLE  -  FREEBSD-10-0  -  FREEBSD-9-STABLE  -  FREEBSD-9-0  -  FREEBSD-8-STABLE  -  FREEBSD-8-0  -  FREEBSD-7-STABLE  -  FREEBSD-7-0  -  FREEBSD-6-STABLE  -  FREEBSD-6-0  -  FREEBSD-5-STABLE  -  FREEBSD-5-0  -  FREEBSD-4-STABLE  -  FREEBSD-3-STABLE  -  FREEBSD22  -  l41  -  OPENBSD  -  linux-2.6  -  MK84  -  PLAN9  -  xnu-8792 
SearchContext: -  none  -  3  -  10 

    1 /*      $NetBSD: msg.h,v 1.2 2005/11/12 00:39:22 simonb Exp $   */
    2 
    3 /*
    4  * SVID compatible msg.h file
    5  *
    6  * Author:  Daniel Boulet
    7  *
    8  * Copyright 1993 Daniel Boulet and RTMX Inc.
    9  *
   10  * This system call was implemented by Daniel Boulet under contract from RTMX.
   11  *
   12  * Redistribution and use in source forms, with and without modification,
   13  * are permitted provided that this entire comment appears intact.
   14  *
   15  * Redistribution in binary form may occur without any restrictions.
   16  * Obviously, it would be nice if you gave credit where credit is due
   17  * but requiring it would be too onerous.
   18  *
   19  * This software is provided ``AS IS'' without any warranties of any kind.
   20  */
   21 
   22 #ifndef _COMPAT_SYS_MSG_H_
   23 #define _COMPAT_SYS_MSG_H_
   24 
   25 #ifdef _KERNEL
   26 #include <compat/sys/ipc.h>
   27 /*
   28  * Old message queue data structure used before NetBSD 1.5.
   29  */
   30 struct msqid_ds14 {
   31         struct  ipc_perm14 msg_perm;    /* msg queue permission bits */
   32         struct  __msg *msg_first;       /* first message in the queue */
   33         struct  __msg *msg_last;        /* last message in the queue */
   34         u_long  msg_cbytes;     /* number of bytes in use on the queue */
   35         u_long  msg_qnum;       /* number of msgs in the queue */
   36         u_long  msg_qbytes;     /* max # of bytes on the queue */
   37         pid_t   msg_lspid;      /* pid of last msgsnd() */
   38         pid_t   msg_lrpid;      /* pid of last msgrcv() */
   39         time_t  msg_stime;      /* time of last msgsnd() */
   40         long    msg_pad1;
   41         time_t  msg_rtime;      /* time of last msgrcv() */
   42         long    msg_pad2;
   43         time_t  msg_ctime;      /* time of last msgctl() */
   44         long    msg_pad3;
   45         long    msg_pad4[4];
   46 };
   47 #endif
   48 
   49 #endif /* !_COMPAT_SYS_MSG_H_ */

Cache object: 2d396839e705f0df898e8100d09b1878


[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ] [ list types ] [ track identifier ]


This page is part of the FreeBSD/Linux Linux Kernel Cross-Reference, and was automatically generated using a modified version of the LXR engine.