Changeset 1207 for trunk/src/kash/shinstance.h
- Timestamp:
- Oct 7, 2007, 7:09:24 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/shinstance.h
r1206 r1207 29 29 30 30 #include <stdio.h> /* BUFSIZ */ 31 #include <signal.h> /* NSIG */ 31 32 32 33 #include "shtypes.h" … … 191 192 192 193 /* jobs.h */ 193 pid_t backgndpid ;/**< pid of last background process */194 pid_t backgndpid/* = -1 */; /**< pid of last background process */ 194 195 int job_warning; /**< user was warned about stopped jobs */ 196 197 /* jobs.c */ 198 struct job *jobtab; /**< array of jobs */ 199 int njobs; /**< size of array */ 200 int jobs_invalid; /**< set in child */ 201 #if JOBS 202 int initialpgrp; /**< pgrp of shell on invocation */ 203 int curjob/* = -1*/;/**< current job */ 204 #endif 205 int ttyfd/* = -1*/; 206 int jobctl; /**< job control enabled / disabled */ 207 char *cmdnextc; 208 int cmdnleft; 195 209 196 210 /* input.h */ … … 262 276 char **t_wp; 263 277 struct t_op const *t_wp_op; 278 279 /* trap.c */ 280 char gotsig[NSIG]; /**< indicates specified signal received */ 264 281 265 282 } shinstance; … … 331 348 gid_t sh_getgid(shinstance *); 332 349 gid_t sh_getegid(shinstance *); 333 334 #endif 350 pid_t sh_getpid(shinstance *); 351 pid_t sh_getpgrp(shinstance *); 352 pid_t sh_getpgid(shinstance *, pid_t); 353 int sh_setpgid(shinstance *, pid_t, pid_t); 354 int sh_killpg(shinstance *, pid_t, int); 355 356 /* tc* */ 357 pid_t sh_tcgetpgrp(shinstance *, int); 358 int sh_tcsetpgrp(shinstance *, int, pid_t); 359 360 #endif
Note:
See TracChangeset
for help on using the changeset viewer.