Lines Matching defs:msg
40 __set_panicstr(const char *msg)
42 panicstr = msg;
57 Abort(const char *msg)
65 panicstr = msg;
95 char msg[400]; /* no panic() message in the library is this long */
103 (void) memset(msg, 0, sizeof (msg));
104 (void) strcpy(msg, head);
105 len1 = strlen(msg);
107 if (len1 + len2 >= sizeof (msg))
108 len2 = sizeof (msg) - len1 - 1;
109 (void) strncat(msg, why, len2);
110 len1 = strlen(msg);
111 if (msg[len1 - 1] != '\n')
112 msg[len1++] = '\n';
113 (void) __write(2, msg, len1);
114 Abort(msg);
160 lock_error(const mutex_t *mp, const char *who, void *cv, const char *msg)
203 if (msg != NULL) {
205 (void) strcat(buf, msg);
218 if (msg != NULL || mutex_held(&mcopy))
250 rwlock_error(const rwlock_t *rp, const char *who, const char *msg)
294 (void) strcat(buf, msg);
339 thread_error(const char *msg)
364 (void) strcat(buf, msg);