core.stdc.wchar_ - D Programming Language
Description: D Programming Language
Keywords: D programming language

Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Downloads
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Forums
  - IRC
  - Community Discord
  - Wiki
  - GitHub
  - Issues
  - Get involved
  - Contributors
  - Foundation
  - Security Team
  - Donate
  - Sponsors
- Resources
  - Tour
  - Books
  - Tutorials
  - Tools
  - Editors
  - IDEs
  - run.dlang.io
  - Visual D
  - Acknowledgments
  - D Style
  - Glossary
  - Sitemap

Search
Report a bug
If you spot a problem with this page, click here to create a Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page. Requires a signed-in GitHub account. This works well for small changes. If you'd like to make larger changes you may want to consider using a local clone.

# core.stdc.wchar_

D header file for C99.
This module contains bindings to selected types and functions from the standard C header <wchar.h>. Note that this is not automatically generated, and may omit some types/functions from the original C header.
License:
Distributed under the Boost Software License 1.0. (See accompanying file LICENSE)
Authors:
Sean Kelly

Source core/stdc/wchar_.d

Standards:
ISO/IEC 9899:1999 (E)

struct `mbstate_t`;
alias `wint_t` = dchar;
enum wchar_t `WEOF`;
nothrow @nogc int `fwprintf`(FILE* `stream`, scope const wchar_t* `format`, ...);
nothrow @nogc int `__isoc99_fwscanf`(FILE* `stream`, scope const wchar_t* `format`, ...);
alias `fwscanf` = __isoc99_fwscanf;
nothrow @nogc int `swprintf`(wchar_t* `s`, size_t `n`, scope const wchar_t* `format`, ...);
nothrow @nogc int `__isoc99_swscanf`(scope const wchar_t* `s`, scope const wchar_t* `format`, ...);
alias `swscanf` = __isoc99_swscanf;
nothrow @nogc int `vfwprintf`(FILE* `stream`, scope const wchar_t* `format`, va_list `arg`);
nothrow @nogc int `__isoc99_vfwscanf`(FILE* `stream`, scope const wchar_t* `format`, va_list `arg`);
alias `vfwscanf` = __isoc99_vfwscanf;
nothrow @nogc int `vswprintf`(wchar_t* `s`, size_t `n`, scope const wchar_t* `format`, va_list `arg`);
nothrow @nogc int `__isoc99_vswscanf`(scope const wchar_t* `s`, scope const wchar_t* `format`, va_list `arg`);
alias `vswscanf` = __isoc99_vswscanf;
nothrow @nogc int `vwprintf`(scope const wchar_t* `format`, va_list `arg`);
nothrow @nogc int `__isoc99_vwscanf`(scope const wchar_t* `format`, va_list `arg`);
alias `vwscanf` = __isoc99_vwscanf;
nothrow @nogc int `wprintf`(scope const wchar_t* `format`, ...);
nothrow @nogc int `__isoc99_wscanf`(scope const wchar_t* `format`, ...);
alias `wscanf` = __isoc99_wscanf;
nothrow @nogc @trusted wint_t `fgetwc`(FILE* `stream`);
nothrow @nogc @trusted wint_t `fputwc`(wchar_t `c`, FILE* `stream`);
nothrow @nogc wchar_t* `fgetws`(wchar_t* `s`, int `n`, FILE* `stream`);
nothrow @nogc int `fputws`(scope const wchar_t* `s`, FILE* `stream`);
nothrow @nogc @trusted wint_t `getwchar`();
nothrow @nogc @trusted wint_t `putwchar`(wchar_t `c`);
alias `getwc` = fgetwc;
alias `putwc` = fputwc;
nothrow @nogc @trusted wint_t `ungetwc`(wint_t `c`, FILE* `stream`);
nothrow @nogc @trusted int `fwide`(FILE* `stream`, int `mode`);
nothrow @nogc double `wcstod`(scope const wchar_t* `nptr`, wchar_t** `endptr`);
nothrow @nogc float `wcstof`(scope const wchar_t* `nptr`, wchar_t** `endptr`);
nothrow @nogc real `wcstold`(scope const wchar_t* `nptr`, wchar_t** `endptr`);
nothrow @nogc c_long `wcstol`(scope const wchar_t* `nptr`, wchar_t** `endptr`, int `base`);
nothrow @nogc long `wcstoll`(scope const wchar_t* `nptr`, wchar_t** `endptr`, int `base`);
nothrow @nogc c_ulong `wcstoul`(scope const wchar_t* `nptr`, wchar_t** `endptr`, int `base`);
nothrow @nogc ulong `wcstoull`(scope const wchar_t* `nptr`, wchar_t** `endptr`, int `base`);
pure nothrow @nogc wchar_t* `wcscpy`(return scope wchar_t* `s1`, scope const wchar_t* `s2`);
pure nothrow @nogc wchar_t* `wcsncpy`(return scope wchar_t* `s1`, scope const wchar_t* `s2`, size_t `n`);
pure nothrow @nogc wchar_t* `wcscat`(return scope wchar_t* `s1`, scope const wchar_t* `s2`);
pure nothrow @nogc wchar_t* `wcsncat`(return scope wchar_t* `s1`, scope const wchar_t* `s2`, size_t `n`);
pure nothrow @nogc int `wcscmp`(scope const wchar_t* `s1`, scope const wchar_t* `s2`);
nothrow @nogc int `wcscoll`(scope const wchar_t* `s1`, scope const wchar_t* `s2`);
pure nothrow @nogc int `wcsncmp`(scope const wchar_t* `s1`, scope const wchar_t* `s2`, size_t `n`);
nothrow @nogc size_t `wcsxfrm`(scope wchar_t* `s1`, scope const wchar_t* `s2`, size_t `n`);
pure nothrow @nogc inout(wchar_t)* `wcschr`(return scope inout(wchar_t)* `s`, wchar_t `c`);
pure nothrow @nogc size_t `wcscspn`(scope const wchar_t* `s1`, scope const wchar_t* `s2`);
pure nothrow @nogc inout(wchar_t)* `wcspbrk`(return scope inout(wchar_t)* `s1`, scope const wchar_t* `s2`);
pure nothrow @nogc inout(wchar_t)* `wcsrchr`(return scope inout(wchar_t)* `s`, wchar_t `c`);
pure nothrow @nogc size_t `wcsspn`(scope const wchar_t* `s1`, scope const wchar_t* `s2`);
pure nothrow @nogc inout(wchar_t)* `wcsstr`(return scope inout(wchar_t)* `s1`, scope const wchar_t* `s2`);
nothrow @nogc wchar_t* `wcstok`(return scope wchar_t* `s1`, scope const wchar_t* `s2`, wchar_t** `ptr`);
pure nothrow @nogc size_t `wcslen`(scope const wchar_t* `s`);
pure nothrow @nogc inout(wchar_t)* `wmemchr`(return scope inout wchar_t* `s`, wchar_t `c`, size_t `n`);
pure nothrow @nogc int `wmemcmp`(scope const wchar_t* `s1`, scope const wchar_t* `s2`, size_t `n`);
pure nothrow @nogc wchar_t* `wmemcpy`(return scope wchar_t* `s1`, scope const wchar_t* `s2`, size_t `n`);
pure nothrow @nogc wchar_t* `wmemmove`(return scope wchar_t* `s1`, scope const wchar_t* `s2`, size_t `n`);
pure nothrow @nogc wchar_t* `wmemset`(return scope wchar_t* `s`, wchar_t `c`, size_t `n`);
nothrow @nogc size_t `wcsftime`(wchar_t* `s`, size_t `maxsize`, scope const wchar_t* `format`, scope const tm* `timeptr`);
nothrow @nogc @trusted wint_t `btowc`(int `c`);
nothrow @nogc @trusted int `wctob`(wint_t `c`);
nothrow @nogc int `mbsinit`(scope const mbstate_t* `ps`);
nothrow @nogc size_t `mbrlen`(scope const char* `s`, size_t `n`, mbstate_t* `ps`);
nothrow @nogc size_t `mbrtowc`(wchar_t* `pwc`, scope const char* `s`, size_t `n`, mbstate_t* `ps`);
nothrow @nogc size_t `wcrtomb`(char* `s`, wchar_t `wc`, mbstate_t* `ps`);
nothrow @nogc size_t `mbsrtowcs`(wchar_t* `dst`, scope const char** `src`, size_t `len`, mbstate_t* `ps`);
nothrow @nogc size_t `wcsrtombs`(char* `dst`, scope const wchar_t** `src`, size_t `len`, mbstate_t* `ps`);

Copyright © 1999-2023 by the D Language Foundation | Page generated by Ddoc on Tue Aug 1 20:57:25 2023