fehQlibs 26
Qlibs
Loading...
Searching...
No Matches
Macros | Functions
byte.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define byte_equal(s, n, t)   (!byte_diff((s),(n),(t)))
 

Functions

unsigned int byte_chr (char *, unsigned int, int)
 
unsigned int byte_rchr (char *, unsigned int, int)
 
void byte_copy (void *, unsigned int, const void *)
 
void byte_copyr (void *, unsigned int, const void *)
 
int byte_diff (const void *, unsigned int, const void *)
 
void byte_zero (void *, unsigned int)
 
void byte_fill (void *, unsigned int, int)
 

Detailed Description


Authors
djb, feh, jmh s/qmail

Definition in file byte.h.

Macro Definition Documentation

◆ byte_equal

#define byte_equal (   s,
  n,
 
)    (!byte_diff((s),(n),(t)))

Definition at line 18 of file byte.h.

Function Documentation

◆ byte_chr()

unsigned int byte_chr ( char *  s,
unsigned int  n,
int  c 
)

Definition at line 9 of file byte.c.

Here is the caller graph for this function:

◆ byte_copy()

void byte_copy ( void *  to,
unsigned int  n,
const void *  from 
)

Definition at line 20 of file byte.c.

Here is the caller graph for this function:

◆ byte_copyr()

void byte_copyr ( void *  to,
unsigned int  n,
const void *  from 
)

Definition at line 30 of file byte.c.

Here is the caller graph for this function:

◆ byte_diff()

int byte_diff ( const void *  s,
unsigned int  n,
const void *  t 
)

Definition at line 40 of file byte.c.

Here is the caller graph for this function:

◆ byte_fill()

void byte_fill ( void *  to,
unsigned int  n,
int  c 
)

Definition at line 74 of file byte.c.

◆ byte_rchr()

unsigned int byte_rchr ( char *  s,
unsigned int  n,
int  c 
)

Definition at line 52 of file byte.c.

◆ byte_zero()

void byte_zero ( void *  s,
unsigned int  n 
)

Definition at line 65 of file byte.c.

Here is the caller graph for this function: