aboutsummaryrefslogtreecommitdiffstats
path: root/libj2_j2i_gt_j2i.3
blob: 9af2511e31ee068b6dbbddd44277e49b72b938d6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
.TH LIBJ2_J2I_GT_J2I 3 LIBJ2
.SH NAME
libj2_j2i_gt_j2i \- Check value greater than another value

.SH SYNOPSIS
.nf
#include <libj2.h>

int \fBlibj2_j2i_gt_j2i\fP(const struct libj2_j2i *\fIa\fP, const struct libj2_j2i *\fIb\fP);
int \fBlibj2_j2i_gt_ji\fP(const struct libj2_j2i *\fIa\fP, intmax_t \fIb\fP);
int \fBlibj2_ji_gt_j2i\fP(intmax_t \fIa\fP, const struct libj2_j2i *\fIb\fP);
int \fBlibj2_j2i_gt_j2u\fP(const struct libj2_j2i *\fIa\fP, const struct libj2_j2u *\fIb\fP);
int \fBlibj2_j2i_gt_ju\fP(const struct libj2_j2i *\fIa\fP, uintmax_t \fIb\fP);
int \fBlibj2_ji_gt_j2u\fP(intmax_t \fIa\fP, const struct libj2_j2u *\fIb\fP);
int \fBlibj2_j2u_gt_j2i\fP(const struct libj2_j2u *\fIa\fP, const struct libj2_j2i *\fIb\fP);
int \fBlibj2_j2u_gt_ji\fP(const struct libj2_j2u *\fIa\fP, intmax_t \fIb\fP);
int \fBlibj2_ju_gt_j2i\fP(uintmax_t \fIa\fP, const struct libj2_j2i *\fIb\fP);
int \fBlibj2_j2u_gt_j2u\fP(const struct libj2_j2u *\fIa\fP, const struct libj2_j2u *\fIb\fP);
int \fBlibj2_j2u_gt_ju\fP(const struct libj2_j2u *\fIa\fP, uintmax_t \fIb\fP);
int \fBlibj2_ju_gt_j2u\fP(uintmax_t \fIa\fP, const struct libj2_j2u *\fIb\fP);
.fi
.PP
Link with
.IR -lj2 .

.SH DESCRIPTION
The above listed function checks whether
the value
.I a
is greater than the value of
.IR b .
.PP
The arguments are assumed to be
.RI non- NULL .

.SH RETURN VALUE
The functions return 1 if
.I a
is greater than
.IR b ,
and 0 otherwise.

.SH ERRORS
The functions cannot fail.

.SH SEE ALSO
.BR libj2 (7),
.BR libj2_j2i_cmp_j2i (3),
.BR libj2_j2i_eq_j2i (3),
.BR libj2_j2i_ne_j2i (3),
.BR libj2_j2i_lt_j2i (3),
.BR libj2_j2i_le_j2i (3),
.BR libj2_j2i_ge_j2i (3)