Mirror of :pserver:cvs@cvs.fefe.de:/cvs libowfat https://www.fefe.de/libowfat/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
640 B

  1. .TH buffer_putalign 3
  2. .SH NAME
  3. buffer_putalign \- write binary data to buffer
  4. .SH SYNTAX
  5. .B #include <buffer.h>
  6. int \fBbuffer_putalign\fP(buffer* \fIb\fR,const char* \fIx\fR,unsigned int \fIlen\fR);
  7. .SH DESCRIPTION
  8. buffer_putalign is similar to buffer_put.
  9. The difference to buffer_put is that, when there isn't enough space for
  10. new data, buffer_put calls buffer_flush before copying any data, while
  11. buffer_putalign fills all available space with data before calling
  12. buffer_flush.
  13. .SH "RETURN VALUE"
  14. 0 if everything is fine, -1 on error (setting \fIerrno\fR).
  15. .SH "SEE ALSO"
  16. buffer_put(3), buffer_putsalign(3), buffer_flush(3), buffer(3)