Changeset 171f9a1 in mainline for uspace/lib/libc/include/string.h


Ignore:
Timestamp:
2009-04-03T20:39:33Z (15 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade
Children:
cb01e1e
Parents:
7a2c479
Message:

Character encoding/decoding un uspace. Partially fix klog application.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/string.h

    r7a2c479 r171f9a1  
    3838#include <mem.h>
    3939#include <sys/types.h>
     40#include <bool.h>
     41
     42#define U_SPECIAL      '?'
     43
     44extern wchar_t str_decode(const char *str, size_t *offset, size_t sz);
     45extern int chr_encode(const wchar_t ch, char *str, size_t *offset, size_t sz);
     46
     47extern bool chr_check(const wchar_t ch);
    4048
    4149extern int strcmp(const char *, const char *);
Note: See TracChangeset for help on using the changeset viewer.