Test Output |
/tset/POSIX.hdr/misc/signal/T.signal 6 Failed
Test Description:
If _POSIX_JOB_CONTROL is defined in the header file <unistd.h> then
the signal constants SIGABRT, SIGALRM, SIGFPE, SIGHUP, SIGILL, SIGINT,
SIGKILL, SIGPIPE, SIGQUIT, SIGSEGV, SIGTERM, SIGUSR1, SIGUSR2,
SIGCHLD, SIGCONT, SIGSTOP, SIGTSTP, SIGTTIN and SIGTTOU shall have
unique positive integral values
otherwise
the signal constants SIGABRT, SIGALRM, SIGFPE, SIGHUP, SIGILL, SIGINT,
SIGKILL, SIGPIPE, SIGQUIT, SIGSEGV, SIGTERM, SIGUSR1 and SIGUSR2 shall
have unique positive integral values.
Posix Ref: Component Signal Concepts Assertion 3.3.1.1-05(A)
Test Strategy:
INCLUDE header file <unistd.h>
VERIFY signal constant exists using #ifndef.
VERIFY that each value is distinct.
VERIFY there were no compiler errors.
Test Information:
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_POSIX_C_SOURCE=200112
Compiler or run-time messages or results:
"cc06es.c", line 109: error #20: identifier "SIGSTP" is undefined
list[i].connt = SIGSTP;
^
Compilation exited with non-zero value when expected to succeed
Feature test macros: -D_POSIX_C_SOURCE=200112 -D_POSIX_SOURCE
Compiler or run-time messages or results:
"cc06es.c", line 109: error #20: identifier "SIGSTP" is undefined
list[i].connt = SIGSTP;
^ |