# 2.11BSD#431 - /usr/include/OLD/psout.h

##### struct's

    psout             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:  *	@(#)psout.h	5.2 (2.11BSD GTE) 1/3/93
       7:  */
       8:
       9: /*
      10:  * psout: structure output by 'ps -U'.
      11:  * Mostly the pre-processed /dev directory.
      12:  */
      13:
      14: #ifndef makedev
      15: #include <sys/types.h>
      16: #endif !makedev
      17:
      18: struct psout {
      19:     dev_t   o_ttyd;     /* u_ttyd */
      20:     int o_flag;     /* p_flag */
      21:     short   o_pid;      /* p_pid */
      22:     char    o_tty[3];   /* 1st 2 chars of tty after 'tty' */
      23:     char    o_stat;     /* p_stat */
      24:     short   o_uid;      /* p_uid */
      25:     char    o_uname[UT_NAMESIZE];   /* login name of process owner */
      26:     short   o_ppid;     /* p_ppid */
      27:     char    o_cpu;      /* p_cpu */
      28:     char    o_pri;      /* p_pri */
      29:     char    o_nice;     /* p_nice */
      30:     short   o_addr0;    /* p_addr[0] */
      31:     short   o_size;     /* p_size */
      32:     caddr_t o_wchan;    /* p_wchan */
      33:     time_t  o_utime;    /* u_utime */
      34:     time_t  o_stime;    /* u_stime */
      35:     time_t  o_cutime;   /* u_cutime */
      36:     time_t  o_cstime;   /* u_cstime */
      37:     short   o_pgrp;     /* p_pgrp */
      38:     int o_sigs;     /* sum of SIGINT & SIGQUIT,
      39: 				   if == 2 proc is ignoring both.*/
      40:     char    o_comm[MAXCOMLEN+1];    /* u_comm */
      41:     char    o_args[64]; /* best guess at args to process */
      42: };

#### Defined struct's

psout defined in line 18; used 22 times

- in /usr/src/bin/ps.c line 118(2), 273(2), 405(2), 518(2), 828(4), 842(2), 850(2), 858(2), 877(2), 889(2)

#### Usage of this include

psout.h used 1 times

- in /usr/src/bin/ps.c line 29

Last modified: 1993-01-03 Generated: 2016-12-26 | Generated by src2html V0.67 page hit count: 920 |