c language question

Thad P Floryan thad at cup.portal.com
Thu Sep 7 17:09:22 AEST 1989


Re: Dave Sueme's questions about the SIG* defs in his c program ...

one MUST include the signal.h file in the program.  For the UNIXPC, you
need to do:

#include <sys/signal.h>


HOWEVER: the SIGSTOP, SIGTSTP and SIGCONT definitions are not defined for
the UNIXPC (or System V ?)   I did find the "missing" definitions in the
signal.h file on a 4.3BSD system per:

#define SIGSTOP	17	/* sendable stop signal not from tty */
#define SISTSTP	18	/* stop signal from tty */
#define SIGCONT	19	/* continue a stopped process */

Another case of UNIX != UNIX

Thad

Thad Floryan [ thad at cup.portal.com (OR) ..!sun!portal!cup.portal.com!thad ]



More information about the Comp.sys.att mailing list