Searched refs:outstr (Results 1 - 3 of 3) sorted by relevance

/haiku/src/tests/system/libroot/posix/
H A Dfseek_test.cpp37 const char outstr[] = "hello world!\n"; local
38 char strbuf[sizeof outstr];
61 setbuffer(fp, strbuf, sizeof(outstr) - 1);
63 if (fwrite(outstr, sizeof(outstr) - 1, 1, fp) != 1) {
111 } else if (fread(buf, sizeof(outstr) - 1, 1, fp) != 1) {
114 } else if (memcmp(buf, outstr, sizeof(outstr) - 1) != 0) {
129 } else if (fread(buf, sizeof(outstr) - 1, 1, fp) != 1) {
132 } else if (memcmp(buf, outstr, sizeo
[all...]
/haiku/src/bin/
H A Dmodifiers.cpp43 FILE *outstr; local
44 outstr = error?stderr:stdout;
45 fprintf(outstr, "Usage: %s [-help] [-list] [-/+][[|l|r][shift|control|command|option]|capslock|scrolllock|numlock|menu]\n", progname);
46 fprintf(outstr, "\t- asserts unpressed modifier,\n");
47 fprintf(outstr, "\t+ asserts pressed modifier,\n");
/haiku/src/bin/network/ftpd/
H A Dftpd.c2096 * Transfer the contents of "instr" to "outstr" peer using the appropriate
2102 send_data(FILE *instr, FILE *outstr, size_t blksize, off_t filesize, int isreg) argument
2130 FTPD_PUTC('\r', outstr, data_err);
2133 FTPD_PUTC(c, outstr, data_err);
2138 while (fflush(outstr) == EOF) {
2142 clearerr(outstr);
2147 if (fflush(outstr) == EOF)
2159 netfd = fileno(outstr);
2262 * Transfer data from peer to "outstr" using the appropriate encapulation of
2268 receive_data(FILE *instr, FILE *outstr)
[all...]

Completed in 36 milliseconds