|
|
c9d3ad |
#ifndef U16PORTS_H
|
|
|
c9d3ad |
#define U16PORTS_H
|
|
|
c9d3ad |
|
|
|
c9d3ad |
#include <stdint.h>
|
|
|
c9d3ad |
#include <unistd.h>
|
|
|
28281b |
#include <wchar.h>
|
|
|
c9d3ad |
#include <sys/types.h>
|
|
|
c9d3ad |
|
|
|
c9d3ad |
#include "u16ports_api.h"
|
|
|
c9d3ad |
|
|
|
c9d3ad |
#ifdef __cplusplus
|
|
|
c9d3ad |
extern "C" {
|
|
|
c9d3ad |
#endif
|
|
|
c9d3ad |
|
|
|
28281b |
|
|
|
28281b |
u16_api int u16_mbsinit (const mbstate_t *);
|
|
|
28281b |
u16_api size_t u16_mbrtowc (uint16_t *, const char * , size_t, mbstate_t *);
|
|
|
28281b |
u16_api size_t u16_mbsrtowcs (uint16_t *, const char **, size_t, mbstate_t *);
|
|
|
28281b |
u16_api size_t u16_mbsnrtowcs (uint16_t *, const char **, size_t, size_t, mbstate_t *);
|
|
|
28281b |
|
|
|
28281b |
u16_api size_t u16_mbstowcs (uint16_t *, const char *, size_t);
|
|
|
28281b |
u16_api size_t u16_wcstombs (char *, const uint16_t *, size_t);
|
|
|
28281b |
|
|
|
28281b |
u16_api size_t u16_wcslen (const uint16_t *);
|
|
|
28281b |
u16_api size_t u16_wcsnlen (const uint16_t *, size_t);
|
|
|
28281b |
|
|
|
28281b |
u16_api size_t u16_wcsspn (const uint16_t *, const uint16_t *);
|
|
|
28281b |
u16_api size_t u16_wcscspn (const uint16_t *, const uint16_t *);
|
|
|
28281b |
|
|
|
28281b |
u16_api int u16_wcscmp (const uint16_t *, const uint16_t *);
|
|
|
28281b |
u16_api int u16_wcsncmp (const uint16_t *, const uint16_t *, size_t);
|
|
|
28281b |
|
|
|
28281b |
u16_api uint16_t * u16_wcscpy (uint16_t *, const uint16_t *);
|
|
|
28281b |
u16_api uint16_t * u16_wcsncpy (uint16_t *, const uint16_t *, size_t);
|
|
|
28281b |
|
|
|
28281b |
u16_api uint16_t * u16_wcpcpy (uint16_t *, const uint16_t *);
|
|
|
28281b |
u16_api uint16_t * u16_wcpncpy (uint16_t *, const uint16_t *, size_t);
|
|
|
28281b |
|
|
|
28281b |
u16_api uint16_t * u16_wcsdup (const uint16_t *);
|
|
|
28281b |
u16_api uint16_t * u16_wcsndup (const uint16_t *, size_t);
|
|
|
28281b |
|
|
|
28281b |
u16_api uint16_t * u16_wcscat (uint16_t *, const uint16_t *);
|
|
|
28281b |
u16_api uint16_t * u16_wcsncat (uint16_t *, const uint16_t *, size_t);
|
|
|
28281b |
|
|
|
28281b |
u16_api uint16_t * u16_wcschr (const uint16_t *, uint16_t);
|
|
|
28281b |
u16_api uint16_t * u16_wcsrchr (const uint16_t *, uint16_t);
|
|
|
28281b |
|
|
|
28281b |
u16_api uint16_t * u16_wcsstr (const uint16_t *, const uint16_t *);
|
|
|
28281b |
u16_api uint16_t * u16_wcsrstr (const uint16_t *, const uint16_t *);
|
|
|
28281b |
|
|
|
28281b |
|
|
|
c9d3ad |
#ifdef __cplusplus
|
|
|
c9d3ad |
}
|
|
|
c9d3ad |
#endif
|
|
|
c9d3ad |
|
|
|
c9d3ad |
#endif
|