World of Might and Magic  0.2.0
Open reimplementation of Might and Magic 6 7 8 game engine
Файл avstring.h

См. исходные тексты.

Перечисления

enum  AVEscapeMode { AV_ESCAPE_MODE_AUTO, AV_ESCAPE_MODE_BACKSLASH, AV_ESCAPE_MODE_QUOTE }
 

Функции

int av_strstart (const char *str, const char *pfx, const char **ptr)
 
int av_stristart (const char *str, const char *pfx, const char **ptr)
 
char * av_stristr (const char *haystack, const char *needle)
 
char * av_strnstr (const char *haystack, const char *needle, size_t hay_length)
 
size_t av_strlcpy (char *dst, const char *src, size_t size)
 
size_t av_strlcat (char *dst, const char *src, size_t size)
 
size_t av_strlcatf (char *dst, size_t size, const char *fmt,...) av_printf_format(3
 
size_t static size_t av_strnlen (const char *s, size_t len)
 
char * av_asprintf (const char *fmt,...) av_printf_format(1
 
char char * av_d2str (double d)
 
char * av_get_token (const char **buf, const char *term)
 
char * av_strtok (char *s, const char *delim, char **saveptr)
 
static av_const int av_isdigit (int c)
 
static av_const int av_isgraph (int c)
 
static av_const int av_isspace (int c)
 
static av_const int av_toupper (int c)
 
static av_const int av_tolower (int c)
 
static av_const int av_isxdigit (int c)
 
int av_strcasecmp (const char *a, const char *b)
 
int av_strncasecmp (const char *a, const char *b, size_t n)
 
char * av_strireplace (const char *str, const char *from, const char *to)
 
const char * av_basename (const char *path)
 
const char * av_dirname (char *path)
 
int av_match_name (const char *name, const char *names)
 
char * av_append_path_component (const char *path, const char *component)
 
av_warn_unused_result int av_escape (char **dst, const char *src, const char *special_chars, enum AVEscapeMode mode, int flags)
 
av_warn_unused_result int av_utf8_decode (int32_t *codep, const uint8_t **bufp, const uint8_t *buf_end, unsigned int flags)
 
int av_match_list (const char *name, const char *list, char separator)
 
int av_sscanf (const char *string, const char *format,...)