Lines Matching refs:ebuf
61 char *ebuf = NULL; in sig_tlsalloc() local
64 ebuf = sig_ebuf; in sig_tlsalloc()
69 if ((ebuf = thr_getspecific(sig_key)) == NULL) { in sig_tlsalloc()
70 if ((ebuf = malloc(sizeof(sig_ebuf))) == NULL) in sig_tlsalloc()
72 if (thr_setspecific(sig_key, ebuf) != 0) { in sig_tlsalloc()
73 free(ebuf); in sig_tlsalloc()
74 ebuf = NULL; in sig_tlsalloc()
80 if (ebuf == NULL) in sig_tlsalloc()
81 ebuf = sig_ebuf_err; in sig_tlsalloc()
82 return (ebuf); in sig_tlsalloc()
89 char *ebuf; in strsignal() local
101 ebuf = sig_tlsalloc(); in strsignal()
104 n = strlcpy(ebuf, in strsignal()
112 n = strlcpy(ebuf, in strsignal()
131 p = (ebuf + n); in strsignal()
147 return (ebuf); in strsignal()