outstr
CKSUM_End(CKSUM_CTX *ctx, char *outstr)
if (outstr == NULL) {
if (asprintf(&outstr, "%u %lld", ctx->crc, ctx->len) == -1)
(void)snprintf(outstr, (size_t)CKSUM_DIGEST_STRING_LENGTH,
return (outstr);
char *outstr;
outstr = temp;
len = strlcpy(outstr, fnames[fnum],
temp + sizeof(temp) - outstr);
if (len >= temp + sizeof(temp) - outstr)
len = temp + sizeof(temp) - outstr - 1;
outstr += len;
*outstr++ = c;
len = strlcpy(outstr, shell_line,
temp + sizeof(temp) - outstr);
if (len >= temp + sizeof(temp) - outstr)
len = temp + sizeof(temp) - outstr - 1;
outstr += len;
*outstr++ = *instr++;
*outstr++ = c;
*outstr++ = '\0';
outstr(pp, s, strlen(s));
outstr(pp, pp->p_maze[0], WIDTH);
outstr(pp, pp->p_maze[HEIGHT - 1], WIDTH);
void outstr(PLAYER *, char *, int);
outstr(pp, str, len);
outstr(pp, str, len);
outstr(pp, buf, len);
send_data(FILE *instr, FILE *outstr, off_t blksize, off_t filesize, int isreg)
if (ferror(outstr))
(void) putc('\r', outstr);
(void) putc(c, outstr);
fflush(outstr);
if (ferror(outstr))
netfd = fileno(outstr);
receive_data(FILE *instr, FILE *outstr)
if (write(fileno(outstr), buf, cnt) != cnt)
if (ferror(outstr))
(void) putc ('\r', outstr);
(void) putc(c, outstr);
fflush(outstr);
if (ferror(outstr))
tmodes(char *incap, char *outcap, char **instr, char **outstr,
*outstr = "";
*outstr = outcap;
*outstr = def_outstr;
if (*outstr == NULL)
*outstr = exit_attribute_mode;
if (*outstr == NULL)
*outstr = "";
static char *outstr = NULL;
outstr = mandoc_realloc(outstr, newlen + 1);
*outstr = inbyte;
memcpy(outstr + 1, instr, newlen);
return outstr;