fix a few man pages
This commit is contained in:
@@ -4,7 +4,7 @@ buffer_fromsa \- initialize buffer structure from stralloc
|
||||
.SH SYNTAX
|
||||
.B #include <buffer.h>
|
||||
|
||||
int \fBbuffer_fromsa\fR(buffer* \fIb\fR,stralloc* \fIsa\fR);
|
||||
void \fBbuffer_fromsa\fR(buffer* \fIb\fR,stralloc* \fIsa\fR);
|
||||
.SH DESCRIPTION
|
||||
buffer_fromsa makes a virtual read buffer from a stralloc. The buffer
|
||||
reading functions will be able to read until the end of the data in the
|
||||
|
||||
@@ -4,7 +4,7 @@ buffer_init \- initialize buffer structure
|
||||
.SH SYNTAX
|
||||
.B #include <buffer.h>
|
||||
|
||||
int \fBbuffer_init\fR(buffer &\fIb\fR,
|
||||
void \fBbuffer_init\fR(buffer &\fIb\fR,
|
||||
int (*\fIop\fR)(int,char*,unsigned int),
|
||||
int \fIfd\fR, unsigned char* \fIy\fR, unsigned long int \fIylen\fR);
|
||||
.SH DESCRIPTION
|
||||
|
||||
@@ -4,7 +4,7 @@ buffer_init_free \- initialize buffer structure
|
||||
.SH SYNTAX
|
||||
.B #include <buffer.h>
|
||||
|
||||
int \fBbuffer_init_free\fR(buffer &\fIb\fR,
|
||||
void \fBbuffer_init_free\fR(buffer &\fIb\fR,
|
||||
int (*\fIop\fR)(int,char*,unsigned int),
|
||||
int \fIfd\fR, unsigned char* \fIy\fR, unsigned long int \fIylen\fR);
|
||||
.SH DESCRIPTION
|
||||
|
||||
@@ -4,7 +4,7 @@ buffer_seek \- remove bytes from beginning of string in buffer
|
||||
.SH SYNTAX
|
||||
.B #include <buffer.h>
|
||||
|
||||
int \fBbuffer_seek\fP(buffer* \fIb\fR,unsigned long int \fIr\fR);
|
||||
void \fBbuffer_seek\fP(buffer* \fIb\fR,unsigned long int \fIr\fR);
|
||||
.SH DESCRIPTION
|
||||
buffer_seek removes \fIr\fR bytes from the beginning of the string.
|
||||
\fIr\fR must be at most the current length of the string.
|
||||
|
||||
Reference in New Issue
Block a user