fix a few man pages

master
leitner 20 years ago
parent 9210337fa5
commit 20c994bf59

@ -1,5 +1,6 @@
0.23: 0.23:
also recognize EPFNOSUPPORT as EAFNOSUPPORT (groan) also recognize EPFNOSUPPORT as EAFNOSUPPORT (groan)
fix a few man pages
0.22: 0.22:
uh, the scope_id detection #defined the wrong constant. libowfat uh, the scope_id detection #defined the wrong constant. libowfat

@ -4,7 +4,7 @@ buffer_fromsa \- initialize buffer structure from stralloc
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .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 .SH DESCRIPTION
buffer_fromsa makes a virtual read buffer from a stralloc. The buffer 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 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 .SH SYNTAX
.B #include <buffer.h> .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 (*\fIop\fR)(int,char*,unsigned int),
int \fIfd\fR, unsigned char* \fIy\fR, unsigned long int \fIylen\fR); int \fIfd\fR, unsigned char* \fIy\fR, unsigned long int \fIylen\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -4,7 +4,7 @@ buffer_init_free \- initialize buffer structure
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .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 (*\fIop\fR)(int,char*,unsigned int),
int \fIfd\fR, unsigned char* \fIy\fR, unsigned long int \fIylen\fR); int \fIfd\fR, unsigned char* \fIy\fR, unsigned long int \fIylen\fR);
.SH DESCRIPTION .SH DESCRIPTION

@ -4,7 +4,7 @@ buffer_seek \- remove bytes from beginning of string in buffer
.SH SYNTAX .SH SYNTAX
.B #include <buffer.h> .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 .SH DESCRIPTION
buffer_seek removes \fIr\fR bytes from the beginning of the string. buffer_seek removes \fIr\fR bytes from the beginning of the string.
\fIr\fR must be at most the current length of the string. \fIr\fR must be at most the current length of the string.

Loading…
Cancel
Save