7 101, 102, 103, 104, 105, 106, 107, 108, 109, 110,
8 111, 112, 113, 114, 115, 116, 117, 118, 119, 120,
9 121, 122, 123, 124, 201, 202, 203, 204, 205, 206, 207, 999
11 const char *str[] = {NULL, "foobar"};
13 for(i = 0; i < sizeof(str)/sizeof(str[0]); i++) {
14 for(j = 0; j < sizeof(code)/sizeof(code[0]); j++) {
15 setcerr(code[j], str[i]);
16 printf("%d: %s - %d\t%s\n", code[j], str[i], cerrno, cerrmsg);