# 2.11BSD#431 - /usr/src/sys/h/msgbuf.h

##### Macros

    MSG_BSIZE         X
    MSG_MAGIC         X
    logACCT           X
    logDEV            X
    logMSG            X

##### struct's

    msgbuf            X

       1: /*
       2:  * Copyright (c) 1986 Regents of the University of California.
       3:  * All rights reserved.  The Berkeley software License Agreement
       4:  * specifies the terms and conditions for redistribution.
       5:  *
       6:  *	@(#)msgbuf.h	1.2 (2.11BSD) 1998/12/5
       7:  */
       8:
       9: #define MSG_MAGIC   0x063061
      10: #define MSG_BSIZE   4096
      11:
      12: struct  msgbuf {
      13:     long    msg_magic;
      14:     int msg_bufx;
      15:     int msg_bufr;
      16:     u_short msg_click;
      17:     char    *msg_bufc;
      18: };
      19:
      20: #define logMSG  0       /* /dev/klog */
      21: #define logDEV  1       /* /dev/erlg */
      22: #define logACCT 2       /* /dev/acct */

#### Defined struct's

msgbuf defined in line 12; used 18 times

- in /usr/src/new/crash/crash.c line 135(2)
- in /usr/src/sbin/dmesg/dmesg.c line 27-32(4)
- in /usr/src/sys/sys/subr_log.c line 52(2), 116(2), 206(2), 242(2), 289(2), 354(2)

#### Defined macros

MSG_BSIZE defined in line 10; used 20 times

- in /usr/src/new/crash/crash.c line 1336
- in /usr/src/sbin/dmesg/dmesg.c line 45, 74-81(3), 95-97(2), 114
- in /usr/src/sys/conf/checksys.c line 236
- in /usr/src/sys/sys/subr_log.c line 152, 166, 255, 294, 305-315(4), 336, 358
- in /usr/src/usr.sbin/syslogd/syslogd.c line 159

MSG_MAGIC defined in line 9; used 3 times

- in /usr/src/sbin/dmesg/dmesg.c line 72
- in /usr/src/sys/sys/subr_log.c line 294, 361

logACCT defined in line 22; used 4 times

- in /usr/src/sys/sys/kern_acct.c line 62-65(2)
- in /usr/src/sys/sys/subr_log.c line 75, 90

logDEV defined in line 21; never used
logMSG defined in line 20; used 4 times

- in /usr/src/sys/sys/subr_prf.c line 104, 122-124(2), 333

#### Usage of this include

msgbuf.h used 8 times

- in /usr/src/new/crash/crash.c line 101
- in /usr/src/sbin/dmesg/dmesg.c line 25
- in /usr/src/sys/conf/checksys.c line 22
- in /usr/src/sys/pdp/machdep2.c line 28
- in /usr/src/sys/sys/kern_acct.c line 18
- in /usr/src/sys/sys/subr_log.c line 31
- in /usr/src/sys/sys/subr_prf.c line 13
- in /usr/src/usr.sbin/syslogd/syslogd.c line 59

Last modified: 1998-12-06 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 480 |