module core.c.wchar_
C Bindings | C Standard Library Bindings

Code Map

module core.c.wchar_;

public import core.c.stddef;
public import core.c.time;
public import core.c.stdint;


enum WEOF;

alias mbstate_t = i32;
alias wint_t = u32;

fn fwprintf(stream: FILE*, format: const(const(wchar_t)*)) i32;
fn fwscanf(stream: FILE*, format: const(const(wchar_t)*)) i32;
fn swprintf(s: wchar_t*, n: size_t, format: const(const(wchar_t)*)) i32;
fn swscanf(s: const(const(wchar_t)*), format: const(const(wchar_t)*)) i32;
fn vfwprintf(stream: FILE*, format: const(const(wchar_t)*), arg: va_list) i32;
fn vfwscanf(stream: FILE*, format: const(const(wchar_t)*), arg: va_list) i32;
fn vswprintf(s: wchar_t*, n: size_t, format: const(const(wchar_t)*), arg: va_list) i32;
fn vswscanf(s: const(const(wchar_t)*), format: const(const(wchar_t)*), arg: va_list) i32;
fn vwprintf(format: const(const(wchar_t)*), arg: va_list) i32;
fn vwscanf(format: const(const(wchar_t)*), arg: va_list) i32;
fn wprintf(format: const(const(wchar_t)*)) i32;
fn wscanf(format: const(const(wchar_t)*)) i32;
fn fgetwc(stream: FILE*) wint_t;
fn fputwc(c: wchar_t, stream: FILE*) wint_t;
fn fgetws(s: wchar_t*, n: i32, stream: FILE*) wchar_t*;
fn fputws(s: const(const(wchar_t)*), stream: FILE*) i32;
fn ungetwc(c: wint_t, stream: FILE*) wint_t;
fn fwide(stream: FILE*, mode: i32) i32;
fn wcstod(const(const(wchar_t)*), wchar_t**) f64;
fn wcstof(const(const(wchar_t)*), wchar_t**) f32;
fn wcstol(const(const(wchar_t)*), wchar_t**, i32) c_long;
fn wcstoll(const(const(wchar_t)*), wchar_t**, i32) i64;
fn wcstoul(const(const(wchar_t)*), wchar_t**, i32) c_ulong;
fn wcstoull(const(const(wchar_t)*), wchar_t**, i32) u64;
fn wcscpy(s1: wchar_t*, s2: const(const(wchar_t)*)) wchar_t*;
fn wcsncpy(s1: wchar_t*, s2: const(const(wchar_t)*), n: size_t) wchar_t*;
fn wcscat(s1: wchar_t*, s2: const(const(wchar_t)*)) wchar_t*;
fn wcsncat(s1: wchar_t*, s2: const(const(wchar_t)*), n: size_t) wchar_t*;
fn wcscmp(const(const(wchar_t)*), const(const(wchar_t)*)) i32;
fn wcscoll(const(const(wchar_t)*), const(const(wchar_t)*)) i32;
fn wcsncmp(const(const(wchar_t)*), const(const(wchar_t)*), size_t) i32;
fn wcsxfrm(wchar_t*, const(const(wchar_t)*), size_t) size_t;
fn wcschr(const(const(wchar_t)*), wchar_t) wchar_t*;
fn wcscspn(const(const(wchar_t)*), const(const(wchar_t)*)) size_t;
fn wcspbrk(const(const(wchar_t)*), const(const(wchar_t)*)) wchar_t*;
fn wcsrchr(const(const(wchar_t)*), wchar_t) wchar_t*;
fn wcsspn(const(const(wchar_t)*), const(const(wchar_t)*)) size_t;
fn wcsstr(const(const(wchar_t)*), const(const(wchar_t)*)) wchar_t*;
fn wcstok(wchar_t*, const(const(wchar_t)*), wchar_t**) wchar_t*;
fn wcslen(const(const(wchar_t)*)) size_t;
fn wmemchr(const(const(wchar_t)*), wchar_t, size_t) wchar_t*;
fn wmemcmp(const(const(wchar_t)*), const(const(wchar_t)*), size_t) i32;
fn wmemcpy(wchar_t*, const(const(wchar_t)*), size_t) wchar_t*;
fn wmemmove(wchar_t*, const(const(wchar_t)*), size_t) wchar_t*;
fn wmemset(wchar_t*, wchar_t, size_t) wchar_t*;
fn wcsftime(wchar_t*, size_t, const(const(wchar_t)*), const(const(tm)*)) size_t;
fn btowc(i32) wint_t;
fn wctob(wint_t) i32;
fn mbsinit(const(const(mbstate_t)*)) i32;
fn mbrlen(const(const(char)*), size_t, mbstate_t*) size_t;
fn mbrtowc(wchar_t*, const(const(char)*), size_t, mbstate_t*) size_t;
fn wcrtomb(char*, wchar_t, mbstate_t*) size_t;
fn mbsrtowcs(wchar_t*, const(char)**, size_t, mbstate_t*) size_t;
fn wcsrtombs(char*, const(wchar_t)**, size_t, mbstate_t*) size_t;