Subversion Repositories HelenOS

Rev

Rev 4201 | Rev 4296 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4201 Rev 4221
Line 40... Line 40...
40
#define UTF8_NO_LIMIT  ((size_t) -1)
40
#define UTF8_NO_LIMIT  ((size_t) -1)
41
 
41
 
42
extern char invalch;
42
extern char invalch;
43
 
43
 
44
extern wchar_t chr_decode(const char *, size_t *, size_t);
44
extern wchar_t chr_decode(const char *, size_t *, size_t);
45
extern bool chr_encode(const wchar_t, char *, size_t *, size_t limit);
45
extern bool chr_encode(const wchar_t, char *, size_t *, size_t);
46
extern size_t utf8_count_bytes(const char *str, count_t count);
46
extern size_t str_lsize(const char *, count_t);
47
extern bool ascii_check(const wchar_t ch);
47
extern bool ascii_check(const wchar_t ch);
48
extern bool unicode_check(const wchar_t ch);
48
extern bool unicode_check(const wchar_t ch);
49
 
49
 
50
extern size_t strlen(const char *str);
50
extern size_t strlen(const char *str);
51
extern size_t strlen_utf8(const char *str);
51
extern count_t str_length(const char *str);
52
extern size_t strlen_utf32(const wchar_t *str);
52
extern count_t wstr_length(const wchar_t *str);
53
 
53
 
54
extern int strcmp(const char *src, const char *dst);
54
extern int strcmp(const char *src, const char *dst);
55
extern int strncmp(const char *src, const char *dst, size_t len);
55
extern int strncmp(const char *src, const char *dst, size_t len);
56
extern void strncpy(char *dest, const char *src, size_t len);
56
extern void strncpy(char *dest, const char *src, size_t len);
57
 
57