Adapted for ANSI C and our pseudo-Posix syscall interface.
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
#define CHAR_SHIFT 8
|
||||
|
||||
int
|
||||
mblen(const char *s, size_t n)
|
||||
(mblen)(const char *s, size_t n)
|
||||
{
|
||||
if (s == (const char *)NULL) return 0; /* no state dependent codings */
|
||||
if (n <= 0) return 0;
|
||||
|
||||
Reference in New Issue
Block a user