Lines Matching defs:strings
31 #include <strings.h>
92 static const char *strings[ERR_NUM];
107 if (strings[ERR_WARNING_NF] == NULL)
108 strings[ERR_WARNING_NF] = MSG_INTL(MSG_ERR_WARNING);
111 if (strings[ERR_WARNING] == NULL)
112 strings[ERR_WARNING] = MSG_INTL(MSG_ERR_WARNING);
115 if (strings[ERR_GUIDANCE] == NULL)
116 strings[ERR_GUIDANCE] = MSG_INTL(MSG_ERR_GUIDANCE);
119 if (strings[ERR_FATAL] == NULL)
120 strings[ERR_FATAL] = MSG_INTL(MSG_ERR_FATAL);
123 if (strings[ERR_ELF] == NULL)
124 strings[ERR_ELF] = MSG_INTL(MSG_ERR_ELF);
127 /* If strings[] element for our error type is non-NULL, issue prefix */
128 if (strings[error] != NULL) {
130 (void) fputs(strings[error], stderr);
552 * Prevent modification of actual environment strings.