Logo Search packages:      
Sourcecode: sofia-sip version File versions

string0.h File Reference

Detailed Description

Extra string function.

Defined when <sofia-sip/string0.h> is included.

String comparison functions accepting NULL pointers: str0cmp(), str0ncmp(), str0casecmp(), str0ncasecmp(). Also includes span functions testing at most n bytes: strncspn(), strnspn().

Definition in file string0.h.

#include <sofia-sip/su_config.h>
#include <string.h>

Go to the source code of this file.


su_inline int str0casecmp (char const *a, char const *b)
SOFIA_BEGIN_DECLS su_inline int str0cmp (char const *a, char const *b)
su_inline int str0ncasecmp (char const *a, char const *b, size_t n)
su_inline int str0ncmp (char const *a, char const *b, size_t n)
SOFIAPUBFUN size_t strncspn (char const *s, size_t ssize, char const *reject)
SOFIAPUBFUN size_t strnspn (char const *s, size_t size, char const *term)

Generated by  Doxygen 1.6.0   Back to index