1buffer_puts(3)             Library Functions Manual             buffer_puts(3)
2
3
4

NAME

6       buffer_puts - write ASCIIZ string to buffer
7

SYNTAX

9       #include <buffer.h>
10
11       int buffer_puts(buffer* b,const char* x);
12

DESCRIPTION

14       buffer_puts  is  like  buffer_put  with len determined as the number of
15       bytes before the first \0 in x.
16
17       The difference to buffer_putsalign is that,  when  there  isn't  enough
18       space  for  new data, buffer_puts calls buffer_flush before copying any
19       data, while buffer_putsalign fills all available space with data before
20       calling buffer_flush.
21

RETURN VALUE

23       buffer_puts  returns  0  if  everything  was fine, -1 on error (setting
24       errno).
25

SEE ALSO

27       buffer_putsalign(3), buffer_put(3), buffer_flush(3), buffer(3)
28
29
30
31                                                                buffer_puts(3)
Impressum