Adapted for ANSI C and our pseudo-Posix syscall interface.

This commit is contained in:
dtrg
2007-04-21 23:18:14 +00:00
parent b66d66b597
commit 1c83baa702
37 changed files with 222 additions and 279 deletions

View File

@@ -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;