Lines Matching refs:ebuf
64 char *ebuf = NULL; in sig_tlsalloc() local
67 ebuf = sig_ebuf; in sig_tlsalloc()
72 if ((ebuf = thr_getspecific(sig_key)) == NULL) { in sig_tlsalloc()
73 if ((ebuf = malloc(sizeof(sig_ebuf))) == NULL) in sig_tlsalloc()
75 if (thr_setspecific(sig_key, ebuf) != 0) { in sig_tlsalloc()
76 free(ebuf); in sig_tlsalloc()
77 ebuf = NULL; in sig_tlsalloc()
83 if (ebuf == NULL) in sig_tlsalloc()
84 ebuf = sig_ebuf_err; in sig_tlsalloc()
85 return (ebuf); in sig_tlsalloc()
92 char *ebuf; in strsignal() local
104 ebuf = sig_tlsalloc(); in strsignal()
107 n = strlcpy(ebuf, in strsignal()
115 n = strlcpy(ebuf, in strsignal()
134 p = (ebuf + n); in strsignal()
150 return (ebuf); in strsignal()