Return to buf.c CVS log | Up to [local] / src / usr.bin / cvs |
version 1.38, 2006/03/20 16:18:13 | version 1.39, 2006/03/23 08:50:41 | ||
---|---|---|---|
|
|
||
* cvs_buf_putc() | * cvs_buf_putc() | ||
* | * | ||
* Append a single character <c> to the end of the buffer <b>. | * Append a single character <c> to the end of the buffer <b>. | ||
* Returns 0 on success. | |||
*/ | */ | ||
int | void | ||
cvs_buf_putc(BUF *b, int c) | cvs_buf_putc(BUF *b, int c) | ||
{ | { | ||
u_char *bp; | u_char *bp; | ||
|
|
||
} | } | ||
*bp = (u_char)c; | *bp = (u_char)c; | ||
b->cb_len++; | b->cb_len++; | ||
return (0); | |||
} | } | ||
/* | /* |