Home
last modified time | relevance | path

Searched refs:outstr (Results 1 – 7 of 7) sorted by relevance

/openbsd-src/bin/md5/
H A Dcrc.c124 CKSUM_End(CKSUM_CTX *ctx, char *outstr) in CKSUM_End() argument
128 if (outstr == NULL) { in CKSUM_End()
129 if (asprintf(&outstr, "%u %lld", ctx->crc, ctx->len) == -1) in CKSUM_End()
132 (void)snprintf(outstr, (size_t)CKSUM_DIGEST_STRING_LENGTH, in CKSUM_End()
136 return (outstr); in CKSUM_End()
/openbsd-src/usr.bin/less/
H A Dscreen.c492 tmodes(char *incap, char *outcap, char **instr, char **outstr, in tmodes() argument
497 *outstr = ""; in tmodes()
502 *outstr = outcap; in tmodes()
507 *outstr = def_outstr; in tmodes()
511 if (*outstr == NULL) in tmodes()
513 *outstr = exit_attribute_mode; in tmodes()
514 if (*outstr == NULL) in tmodes()
516 *outstr = ""; in tmodes()
/openbsd-src/games/hunt/huntd/
H A Dterminal.c99 outstr(PLAYER *pp, char *str, int len) in outstr() function
103 outstr(pp, str, len); in outstr()
105 outstr(pp, str, len); in outstr()
138 outstr(pp, buf, len); in outyx()
H A Ddraw.c61 outstr(pp, pp->p_maze[0], WIDTH); in drawmaze()
79 outstr(pp, pp->p_maze[HEIGHT - 1], WIDTH); in drawmaze()
334 outstr(pp, s, strlen(s)); in message()
H A Dserver.h264 void outstr(PLAYER *, char *, int);
/openbsd-src/usr.bin/mandoc/
H A Ddba.c235 static char *outstr = NULL; in prepend() local
241 outstr = mandoc_realloc(outstr, newlen + 1); in prepend()
244 *outstr = inbyte; in prepend()
245 memcpy(outstr + 1, instr, newlen); in prepend()
246 return outstr; in prepend()
/openbsd-src/libexec/ftpd/
H A Dftpd.c1500 send_data(FILE *instr, FILE *outstr, off_t blksize, off_t filesize, int isreg) in send_data() argument
1515 if (ferror(outstr)) in send_data()
1517 (void) putc('\r', outstr); in send_data()
1519 (void) putc(c, outstr); in send_data()
1521 fflush(outstr); in send_data()
1525 if (ferror(outstr)) in send_data()
1536 netfd = fileno(outstr); in send_data()
1625 receive_data(FILE *instr, FILE *outstr) in receive_data() argument
1651 if (write(fileno(outstr), buf, cnt) != cnt) in receive_data()
1675 if (ferror(outstr)) in receive_data()
[all …]