Logo Search packages:      
Sourcecode: daemontools version File versions  Download package

str.h

/* Public domain. */

#ifndef STR_H
#define STR_H

extern unsigned int str_copy(char *,const char *);
extern int str_diff(const char *,const char *);
extern int str_diffn(const char *,const char *,unsigned int);
extern unsigned int str_len(const char *);
extern unsigned int str_chr(const char *,int);
extern unsigned int str_rchr(const char *,int);
extern int str_start(const char *,const char *);

#define str_equal(s,t) (!str_diff((s),(t)))

#endif

Generated by  Doxygen 1.6.0   Back to index