Runtime messages with POSIX

The POSIX(ON) runtime option changes both the facility ID and message number for some messages you might see with your C application. Messages that had the facility ID of EDC and ranged in number from 6000 through 6009 before running POSIX(ON) now have a facility ID of CEE and different message numbers.

Table 1 shows the conditions, their facility ID and message number for the different runtime environments. If your C application is coded to respond to specific facility IDs or specific message numbers for processing, then you must check for the proper values depending on the environment.

Table 1. Condition tokens with POSIX
Condition token Facility ID with POSIX(ON) Message number with POSIX(ON) Facility ID with POSIX(OFF) Message number with POSIX(OFF)
SIGFPE CEE 5201 EDC 6000
SIGILL CEE 5202 EDC 6001
SIGSEGV CEE 5203 EDC 6002
SIGABND CEE 5204 EDC 6003
SIGTERM CEE 5205 EDC 6004
SIGINT CEE 5206 EDC 6005
SIGABRT CEE 5207 EDC 6006
SIGUSR1 CEE 5208 EDC 6007
SIGUSR2 CEE 5209 EDC 6008
SIGHUP CEE 5210 na na
SIGSTOP CEE 5211 na na
SIGKILL CEE 5212 na na
SIGPIPE CEE 5213 na na
SIGALRM CEE 5214 na na
SIGCONT CEE 5215 na na
SIGCHLD CEE 5216 na na
SIGTTIN CEE 5217 na na
SIGTTOU CEE 5218 na na
SIGIO CEE 5219 na na
SIGQUIT CEE 5220 na na
SIGTSTP CEE 5221 na na
SIGTRAP CEE 5222 na na
SIGIOERR CEE 5223 EDC 6009
SIGDCE CEE 5224 na na
SIGPOLL CEE 5225 na na
SIGURG CEE 5226 na na
SIGBUS CEE 5227 na na
SIGSYS CEE 5228 na na
SIGWINCH CEE 5229 na na
SIGXCPU CEE 5230 na na
SIGXFSZ CEE 5231 na na
SIGVTALRM CEE 5232 na na
SIGPROF CEE 5233 na na
SIGDUMP CEE 5234 na na
SIGDANGER CEE 5235 na na
SIGTHSTOP CEE 5236 na na
SIGTHCONT CEE 5237 na na