* Append a byte string to an sbuf. */
| 479 | * Append a byte string to an sbuf. |
| 480 | */ |
| 481 | int |
| 482 | sbuf_bcat(struct sbuf *s, const void *buf, size_t len) |
| 483 | { |
| 484 | |
| 485 | sbuf_put_bytes(s, buf, len); |
| 486 | if (s->s_error != 0) |
| 487 | return (-1); |
| 488 | return (0); |
| 489 | } |
| 490 | |
| 491 | #ifdef _KERNEL |
| 492 | /* |
no test coverage detected