add safemult man pages

master
leitner 21 years ago
parent 6fb76c3cd9
commit 75c0d8546c

@ -2,7 +2,7 @@
add io_socketpair
add io_passfd and io_receivefd (and test/fdpassing.c)
io_trywrite and io_waitwrite not ignore SIGPIPE
add man pages for libio
add man pages for libio, safemult
0.18:
make libowfat compile on BSD again (sorry, and thanks to everyone who

@ -0,0 +1,14 @@
.TH imult16 3
.SH NAME
imult16 \- integer multiplication with overflow checking
.SH SYNTAX
.B #include <safemult.h>
int \fBimult16\fP(int16 a,int16 b,int16* c);
.SH DESCRIPTION
imult16 does c=a*b and returns 1.
In case of an integer overflow, imult16 leaves \fIc\fR alone and returns
0.
.SH "SEE ALSO"
umult16(3), imult32(3), imult64(3)

@ -0,0 +1,14 @@
.TH imult32 3
.SH NAME
imult32 \- integer multiplication with overflow checking
.SH SYNTAX
.B #include <safemult.h>
int \fBimult32\fP(int32 a,int32 b,int32* c);
.SH DESCRIPTION
imult32 does c=a*b and returns 1.
In case of an integer overflow, imult32 leaves \fIc\fR alone and returns
0.
.SH "SEE ALSO"
imult16(3), umult32(3), imult64(3)

@ -0,0 +1,14 @@
.TH imult64 3
.SH NAME
imult64 \- integer multiplication with overflow checking
.SH SYNTAX
.B #include <safemult.h>
int \fBimult64\fP(int64 a,int64 b,int64* c);
.SH DESCRIPTION
imult64 does c=a*b and returns 1.
In case of an integer overflow, imult64 leaves \fIc\fR alone and returns
0.
.SH "SEE ALSO"
imult16(3), imult32(3), umult64(3)

@ -0,0 +1,14 @@
.TH umult16 3
.SH NAME
umult16 \- integer multiplication with overflow checking
.SH SYNTAX
.B #include <safemult.h>
int \fBumult16\fP(uint16 a,uint16 b,uint16* c);
.SH DESCRIPTION
umult16 does c=a*b and returns 1.
In case of an integer overflow, umult16 leaves \fIc\fR alone and returns
0.
.SH "SEE ALSO"
imult16(3), imult32(3), imult64(3)

@ -0,0 +1,14 @@
.TH umult32 3
.SH NAME
umult32 \- integer multiplication with overflow checking
.SH SYNTAX
.B #include <safemult.h>
int \fBumult32\fP(uint32 a,uint32 b,uint32* c);
.SH DESCRIPTION
umult32 does c=a*b and returns 1.
In case of an integer overflow, umult32 leaves \fIc\fR alone and returns
0.
.SH "SEE ALSO"
umult16(3), imult32(3), umult64(3)

@ -0,0 +1,14 @@
.TH umult64 3
.SH NAME
umult64 \- integer multiplication with overflow checking
.SH SYNTAX
.B #include <safemult.h>
int \fBumult64\fP(uint64 a,uint64 b,uint64* c);
.SH DESCRIPTION
umult64 does c=a*b and returns 1.
In case of an integer overflow, umult64 leaves \fIc\fR alone and returns
0.
.SH "SEE ALSO"
imult16(3), imult32(3), imult64(3)
Loading…
Cancel
Save