Changeset 1213 for trunk/src/kash/shinstance.h
- Timestamp:
- Oct 7, 2007, 9:13:10 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kash/shinstance.h
r1211 r1213 25 25 */ 26 26 27 #ifndef ___shinstance_h ___28 #define ___shinstance_h ___27 #ifndef ___shinstance_h 28 #define ___shinstance_h 29 29 30 30 #include <stdio.h> /* BUFSIZ */ 31 31 #include <signal.h> /* NSIG */ 32 #ifndef _MSC_VER 33 # include <termios.h> 34 # include <sys/ioctl.h> 35 #endif 32 36 33 37 #include "shtypes.h" … … 40 44 #include "exec.h" 41 45 #include "var.h" 46 47 #ifdef _MSC_VER 48 # define strcasecmp stricmp 49 # define strncasecmp strnicmp 50 #endif 51 42 52 43 53 /* memalloc.c */ … … 330 340 #define SH_SIG_DFL ((sh_sig_t)SIG_DFL) 331 341 #define SH_SIG_IGN ((sh_sig_t)SIG_IGN) 342 #ifdef _MSC_VER 343 # define SIG_BLOCK 1 344 # define SIG_UNBLOCK 2 345 # define SIG_SETMASK 3 346 # define SIGHUP 5 347 # define SIGQUIT 9 348 # define SIGPIPE 12 349 # define SIGTTOU 17 350 # define SIGTSTP 18 351 # define SIGTTIN 19 352 # define SIGCONT 20 353 #endif /* _MSC_VER */ 332 354 333 355 int sh_sigaction(int, const struct sh_sigaction *, struct sh_sigaction *); … … 389 411 pid_t sh_getpgid(shinstance *, pid_t); 390 412 int sh_setpgid(shinstance *, pid_t, pid_t); 413 int sh_kill(shinstance *, pid_t, int); 391 414 int sh_killpg(shinstance *, pid_t, int); 392 415
Note:
See TracChangeset
for help on using the changeset viewer.