sh.proc.h (167466) | sh.proc.h (195609) |
---|---|
1/* $Header: /p/tcsh/cvsroot/tcsh/sh.proc.h,v 3.12 2006/01/12 19:55:38 christos Exp $ */ | 1/* $Header: /p/tcsh/cvsroot/tcsh/sh.proc.h,v 3.13 2009/06/19 16:35:33 christos Exp $ */ |
2/* 3 * sh.proc.h: Process data structures and variables 4 */ 5/*- 6 * Copyright (c) 1980, 1991 The Regents of the University of California. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without --- 62 unchanged lines hidden (view full) --- 72# else /* POSIX */ 73 clock_t p_btime; /* begin time */ 74 clock_t p_etime; /* end time */ 75 clock_t p_utime; /* user time */ 76 clock_t p_stime; /* system time */ 77# endif /* POSIX */ 78# endif /* _SEQUENT_ */ 79#endif /* BSDTIMES */ | 2/* 3 * sh.proc.h: Process data structures and variables 4 */ 5/*- 6 * Copyright (c) 1980, 1991 The Regents of the University of California. 7 * All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without --- 62 unchanged lines hidden (view full) --- 72# else /* POSIX */ 73 clock_t p_btime; /* begin time */ 74 clock_t p_etime; /* end time */ 75 clock_t p_utime; /* user time */ 76 clock_t p_stime; /* system time */ 77# endif /* POSIX */ 78# endif /* _SEQUENT_ */ 79#endif /* BSDTIMES */ |
80 Char *p_command; /* first PMAXLEN chars of command */ | 80 Char *p_command; /* command */ |
81}; 82 83/* flag values for p_flags */ 84#define PRUNNING (1<<0) /* running */ 85#define PSTOPPED (1<<1) /* stopped */ 86#define PNEXITED (1<<2) /* normally exited */ 87#define PAEXITED (1<<3) /* abnormally exited */ 88#define PSIGNALED (1<<4) /* terminated by a signal != SIGINT */ --- 9 unchanged lines hidden (view full) --- 98#define PPOU (1<<11) /* piped output */ 99#define PREPORTED (1<<12) /* status has been reported */ 100#define PINTERRUPTED (1<<13) /* job stopped via interrupt signal */ 101#define PPTIME (1<<14) /* time individual process */ 102#define PNEEDNOTE (1<<15) /* notify as soon as practical */ 103#define PBACKQ (1<<16) /* Process is `` evaluation */ 104#define PHUP (1<<17) /* Process is marked for SIGHUP on exit */ 105 | 81}; 82 83/* flag values for p_flags */ 84#define PRUNNING (1<<0) /* running */ 85#define PSTOPPED (1<<1) /* stopped */ 86#define PNEXITED (1<<2) /* normally exited */ 87#define PAEXITED (1<<3) /* abnormally exited */ 88#define PSIGNALED (1<<4) /* terminated by a signal != SIGINT */ --- 9 unchanged lines hidden (view full) --- 98#define PPOU (1<<11) /* piped output */ 99#define PREPORTED (1<<12) /* status has been reported */ 100#define PINTERRUPTED (1<<13) /* job stopped via interrupt signal */ 101#define PPTIME (1<<14) /* time individual process */ 102#define PNEEDNOTE (1<<15) /* notify as soon as practical */ 103#define PBACKQ (1<<16) /* Process is `` evaluation */ 104#define PHUP (1<<17) /* Process is marked for SIGHUP on exit */ 105 |
106#define PMAXLEN 80 107 | |
108/* defines for arguments to pprint */ 109#define NUMBER 01 110#define NAME 02 111#define REASON 04 112#define AMPERSAND 010 113#define FANCY 020 114#define SHELLDIR 040 /* print shell's dir if not the same */ 115#define JOBDIR 0100 /* print job's dir if not the same */ --- 13 unchanged lines hidden --- | 106/* defines for arguments to pprint */ 107#define NUMBER 01 108#define NAME 02 109#define REASON 04 110#define AMPERSAND 010 111#define FANCY 020 112#define SHELLDIR 040 /* print shell's dir if not the same */ 113#define JOBDIR 0100 /* print job's dir if not the same */ --- 13 unchanged lines hidden --- |