fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
byte.h
Go to the documentation of this file.
1#ifndef BYTE_H
2#define BYTE_H
3
10extern unsigned int byte_chr(char *, unsigned int, int);
11extern unsigned int byte_rchr(char *, unsigned int, int);
12extern void byte_copy(void *, unsigned int, const void *);
13extern void byte_copyr(void *, unsigned int, const void *);
14extern int byte_diff(const void *, unsigned int, const void *);
15extern void byte_zero(void *, unsigned int);
16extern void byte_fill(void *, unsigned int, int);
17
18#define byte_equal(s,n,t) (!byte_diff((s),(n),(t)))
19
20#endif
unsigned int byte_chr(char *, unsigned int, int)
Definition: byte.c:9
int byte_diff(const void *, unsigned int, const void *)
Definition: byte.c:40
void byte_copy(void *, unsigned int, const void *)
Definition: byte.c:20
void byte_fill(void *, unsigned int, int)
Definition: byte.c:74
void byte_copyr(void *, unsigned int, const void *)
Definition: byte.c:30
unsigned int byte_rchr(char *, unsigned int, int)
Definition: byte.c:52
void byte_zero(void *, unsigned int)
Definition: byte.c:65