version 1.2, 2008/12/03 14:39:59 |
version 1.3, 2008/12/03 19:21:58 |
Line 76 ml_nputs(struct md_mbuf *p, const char *buf, size_t sz |
|
Line 76 ml_nputs(struct md_mbuf *p, const char *buf, size_t sz |
|
|
|
|
|
int |
int |
|
ml_puts(struct md_mbuf *p, const char *buf, size_t *pos) |
|
{ |
|
size_t sz; |
|
|
|
sz = strlen(buf); |
|
if ( ! md_buf_puts(p, buf, sz)) |
|
return(0); |
|
*pos += sz; |
|
return(1); |
|
} |
|
|
|
|
|
int |
ml_putchars(struct md_mbuf *p, char buf, size_t count, size_t *pos) |
ml_putchars(struct md_mbuf *p, char buf, size_t count, size_t *pos) |
{ |
{ |
size_t i; |
size_t i; |