Home | History | Annotate | Download | only in misc

Lines Matching refs:buffer

46 static void send_output(const char *buffer, int c, int flag)
51 c = strlen(buffer);
54 write(1, buffer, c);
58 write(outfd, buffer, c);
63 memcpy(((char *)outbuf)+outbufsize, buffer, c);
72 char buffer[4096], *cp, *sep;
74 c = read(fd, buffer, sizeof(buffer)-1);
78 send_output(buffer, c, SEND_CONSOLE);
79 buffer[c] = 0;
80 cp = buffer;
101 send_output(buffer, c, SEND_BOTH);
109 char buffer[80];
142 sprintf(buffer, " died with exit status %d\n", rc);
143 send_output(buffer, 0, SEND_BOTH);
148 sprintf(buffer, "died with signal %d\n",
150 send_output(buffer, 0, SEND_BOTH);