Back to index

tetex-bin  3.0
Defines | Functions
c-memstr.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define _XFUNCS_H_
#define strchr   index
#define strrchr   rindex
#define memcmp(s1, s2, n)   bcmp ((s1), (s2), (n))
#define memcpy(to, from, len)   bcopy ((from), (to), (len))
#define bcmp(s1, s2, len)   memcmp ((s1), (s2), (len))
#define bcopy(from, to, len)   memcpy ((to), (from), (len))
#define bzero(s, len)   memset ((s), 0, (len))
#define index(s, c)   strchr ((s), (c))
#define rindex(s, c)   strrchr ((s), (c))

Functions

char * strtok ()
char * strstr ()

Define Documentation

#define _XFUNCS_H_

Definition at line 23 of file c-memstr.h.

#define bcmp (   s1,
  s2,
  len 
)    memcmp ((s1), (s2), (len))

Definition at line 57 of file c-memstr.h.

#define bcopy (   from,
  to,
  len 
)    memcpy ((to), (from), (len))

Definition at line 61 of file c-memstr.h.

#define bzero (   s,
  len 
)    memset ((s), 0, (len))

Definition at line 65 of file c-memstr.h.

#define index (   s,
  c 
)    strchr ((s), (c))

Definition at line 69 of file c-memstr.h.

#define memcmp (   s1,
  s2,
  n 
)    bcmp ((s1), (s2), (n))

Definition at line 48 of file c-memstr.h.

#define memcpy (   to,
  from,
  len 
)    bcopy ((from), (to), (len))

Definition at line 52 of file c-memstr.h.

#define rindex (   s,
  c 
)    strrchr ((s), (c))

Definition at line 73 of file c-memstr.h.

#define strchr   index

Definition at line 40 of file c-memstr.h.

#define strrchr   rindex

Definition at line 44 of file c-memstr.h.


Function Documentation

char* strstr ( )
char* strtok ( )