Annotation of 43BSDReno/contrib/jove/iproc.h, revision 1.1

1.1     ! root        1: /***************************************************************************
        !             2:  * This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne.  JOVE *
        !             3:  * is provided to you without charge, and with no warranty.  You may give  *
        !             4:  * away copies of JOVE, including sources, provided that this notice is    *
        !             5:  * included in all the files.                                              *
        !             6:  ***************************************************************************/
        !             7: 
        !             8: struct process {
        !             9:        Process *p_next;
        !            10: #ifdef PIPEPROCS
        !            11:        int     p_toproc,       /* read p_fromproc and write p_toproc */
        !            12:                p_portpid,      /* pid of child (the portsrv) */
        !            13:                p_pid;          /* pid of real child i.e. not portsrv */
        !            14: #else
        !            15:        int     p_fd,           /* file descriptor of pty? opened r/w */
        !            16:                p_pid;          /* pid of child (the shell) */
        !            17: #endif
        !            18:        Buffer  *p_buffer;      /* add output to end of this buffer */
        !            19:        char    *p_name;        /* ... */
        !            20:        char    p_state,        /* State */
        !            21:                p_howdied,      /* Killed? or Exited? */
        !            22:                p_reason;       /* If signaled, p_reason is the signal; else
        !            23:                                   it is the the exit code */
        !            24:        Mark    *p_mark;        /* where output left us */
        !            25:        char    p_dbx_mode;     /* whether to parse output for file/lineno
        !            26:                                   pairs */
        !            27: };
        !            28: 
        !            29: extern int  NumProcs;
        !            30: 
        !            31: #ifdef PIPEPROCS
        !            32: extern File    *ProcInput;
        !            33: extern int     kbd_pid;
        !            34: #else
        !            35: extern long global_fd;
        !            36: #endif
        !            37: 
        !            38: extern void
        !            39:        read_proc proto((int)),
        !            40:        pinit proto((void)),
        !            41:        KillProcs proto((void)),
        !            42:        pbuftiedp proto((Buffer *));
        !            43: 
        !            44: extern char *
        !            45:        pstate proto((Process *));

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.