Category : C Source Code
Archive   : J414SRC.ZIP
Filename : WAIT.H

 
Output of file : WAIT.H contained in archive : J414SRC.ZIP
/***************************************************************************
* This program is Copyright (C) 1986, 1987, 1988 by Jonathan Payne. JOVE *
* is provided to you without charge, and with no warranty. You may give *
* away copies of JOVE, including sources, provided that this notice is *
* included in all the files. *
***************************************************************************/

#if defined(BSD_WAIT)
# include
# define w_termsignum(w) ((w).w_termsig)
#else
# define WIFSTOPPED(w) (((w).w_status & 0377) == 0177)
# define WIFEXITED(w) (((w).w_status & 0377) == 0)
# define WIFSIGNALED(w) ((((w).w_status >> 8) & 0377) == 0)
# define w_termsignum(w) ((w).w_status & 0177)
# define wait2(w, x) wait(w)

union wait {
int w_status;
};
#endif

extern void
kill_off proto((int, union wait));


  3 Responses to “Category : C Source Code
Archive   : J414SRC.ZIP
Filename : WAIT.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/