Searched refs:errbuf (Results 1 – 1 of 1) sorted by relevance
578 char *errbuf; in xc_strerror() local584 errbuf = pthread_getspecific(errbuf_pkey); in xc_strerror()585 if (errbuf == NULL) { in xc_strerror()586 errbuf = malloc(XS_BUFSIZE); in xc_strerror()587 if ( errbuf == NULL ) in xc_strerror()589 pthread_setspecific(errbuf_pkey, errbuf); in xc_strerror()598 strncpy(errbuf, strerror_str, XS_BUFSIZE); in xc_strerror()599 errbuf[XS_BUFSIZE-1] = '\0'; in xc_strerror()602 return errbuf; in xc_strerror()
Completed in 3 milliseconds