Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
4973 right-hear 1
/* Copyright (C) 1994 DJ Delorie, see COPYING.DJ for details */
2
#include 
3
 
4
int
5
mblen(const char *s, size_t n)
6
{
7
  if (s)
8
  {
9
    if (n == 0 || *s == 0)
10
      return 0;
11
    return 1;
12
  }
13
  else
14
    return 1;
15
}