Lines Matching defs:buf
310 * synthesize signal name for sig in buf
313 static char* sig_name(Shell_t *shp,int sig, char* buf, int pfx)
320 buf[i++] = 'R';
321 buf[i++] = 'T';
322 buf[i++] = 'M';
325 buf[i++] = 'A';
326 buf[i++] = 'X';
327 buf[i++] = '-';
332 buf[i++] = 'I';
333 buf[i++] = 'N';
334 buf[i++] = '+';
340 buf[i++] = 'S';
341 buf[i++] = 'I';
342 buf[i++] = 'G';
344 i += sfsprintf(buf+i, 8, "%d", sig);
345 buf[i] = 0;
346 return buf;