Home | History | Annotate | Download | only in misc

Lines Matching refs:buffer

75 static void send_output(const char *buffer, int c, int flag)
82 c = strlen(buffer);
86 cp = buffer;
106 write_all(outfd, buffer, c);
111 memcpy(((char *)outbuf)+outbufsize, buffer, c);
120 char buffer[4096], *cp, *sep;
122 c = read(fd, buffer, sizeof(buffer)-1);
126 send_output(buffer, c, SEND_CONSOLE);
127 buffer[c] = 0;
128 cp = buffer;
149 send_output(buffer, c, SEND_BOTH);
163 char buffer[80];
211 sprintf(buffer, " died with exit status %d\n", rc);
212 send_output(buffer, 0, SEND_BOTH);
217 sprintf(buffer, "died with signal %d\n",
219 send_output(buffer, 0, SEND_BOTH);