1range_validbuf(3)          Library Functions Manual          range_validbuf(3)
2
3
4

NAME

6       range_validbuf - range check buffer
7

SYNTAX

9       #include <rangecheck.h>
10
11       int range_validbuf(const void* buf,size_t len);
12
13

DESCRIPTION

15       range_validbuf  does  some  basic  plausibility  checks  on  the buffer
16       buf[0..len-1].
17

RETURN VALUE

19       If the buffer is implausible (buf is NULL or  buf+len  has  an  integer
20       overflow), return 0.
21
22       Otherwise, return 1.
23

SEE ALSO

25       rangecheck(3)
26
27
28
29                                                             range_validbuf(3)
Impressum