strings

strings

Functions

#define bcmp()
#define bcopy()
#define bzero()
#define index()
#define rindex()
int ffs ()
int strcasecmp ()
int strncasecmp ()

Description

Functions

bcmp()

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

bcopy()

# define bcopy(s1, s2, n) memmove((s1), (s2), (size_t)(n))

bzero()

# define bzero(s1, n)		memset((s1), 0, (size_t)(n))

index()

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

rindex()

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

ffs ()

int
ffs (int i);

strcasecmp ()

int
strcasecmp (char const *s1,
            char const *s2);

strncasecmp ()

int
strncasecmp (char const *s1,
             char const *s2,
             size_t n);

Types and Values