Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Forums
  - IRC
  - Wiki
  - GitHub
  - Issues
  - Get involved
  - Foundation
  - Donate
- Resources
  - Books
  - Tutorials
  - Tools
  - Editors
  - IDEs
  - 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 @system int `fwprintf`(FILE* `stream`, in wchar_t* `format`, ...);
nothrow @nogc @system int `fwscanf`(FILE* `stream`, in wchar_t* `format`, ...);
nothrow @nogc @system int `swprintf`(wchar_t* `s`, size_t `n`, in wchar_t* `format`, ...);
nothrow @nogc @system int `swscanf`(in wchar_t* `s`, in wchar_t* `format`, ...);
nothrow @nogc @system int `vfwprintf`(FILE* `stream`, in wchar_t* `format`, va_list `arg`);
nothrow @nogc @system int `vfwscanf`(FILE* `stream`, in wchar_t* `format`, va_list `arg`);
nothrow @nogc @system int `vswprintf`(wchar_t* `s`, size_t `n`, in wchar_t* `format`, va_list `arg`);
nothrow @nogc @system int `vswscanf`(in wchar_t* `s`, in wchar_t* `format`, va_list `arg`);
nothrow @nogc @system int `vwprintf`(in wchar_t* `format`, va_list `arg`);
nothrow @nogc @system int `vwscanf`(in wchar_t* `format`, va_list `arg`);
nothrow @nogc @system int `wprintf`(in wchar_t* `format`, ...);
nothrow @nogc @system int `wscanf`(in wchar_t* `format`, ...);
nothrow @nogc @trusted wint_t `fgetwc`(FILE* `stream`);
nothrow @nogc @trusted wint_t `fputwc`(wchar_t `c`, FILE* `stream`);
nothrow @nogc @system wchar_t* `fgetws`(wchar_t* `s`, int `n`, FILE* `stream`);
nothrow @nogc @system int `fputws`(in wchar_t* `s`, FILE* `stream`);
nothrow @nogc @trusted wint_t `getwchar`();
nothrow @nogc @trusted wint_t `putwchar`(wchar_t `c`);
nothrow @nogc @trusted wint_t `getwc`(FILE* `stream`);
nothrow @nogc @trusted wint_t `putwc`(wchar_t `c`, FILE* `stream`);
nothrow @nogc @trusted wint_t `ungetwc`(wint_t `c`, FILE* `stream`);
nothrow @nogc @trusted int `fwide`(FILE* `stream`, int `mode`);
nothrow @nogc @system double `wcstod`(in wchar_t* `nptr`, wchar_t** `endptr`);
nothrow @nogc @system float `wcstof`(in wchar_t* `nptr`, wchar_t** `endptr`);
nothrow @nogc @system real `wcstold`(in wchar_t* `nptr`, wchar_t** `endptr`);
nothrow @nogc @system c_long `wcstol`(in wchar_t* `nptr`, wchar_t** `endptr`, int `base`);
nothrow @nogc @system long `wcstoll`(in wchar_t* `nptr`, wchar_t** `endptr`, int `base`);
nothrow @nogc @system c_ulong `wcstoul`(in wchar_t* `nptr`, wchar_t** `endptr`, int `base`);
nothrow @nogc @system ulong `wcstoull`(in wchar_t* `nptr`, wchar_t** `endptr`, int `base`);
nothrow @nogc @system wchar_t* `wcscpy`(wchar_t* `s1`, in wchar_t* `s2`);
nothrow @nogc @system wchar_t* `wcsncpy`(wchar_t* `s1`, in wchar_t* `s2`, size_t `n`);
nothrow @nogc @system wchar_t* `wcscat`(wchar_t* `s1`, in wchar_t* `s2`);
nothrow @nogc @system wchar_t* `wcsncat`(wchar_t* `s1`, in wchar_t* `s2`, size_t `n`);
nothrow @nogc @system int `wcscmp`(in wchar_t* `s1`, in wchar_t* `s2`);
nothrow @nogc @system int `wcscoll`(in wchar_t* `s1`, in wchar_t* `s2`);
nothrow @nogc @system int `wcsncmp`(in wchar_t* `s1`, in wchar_t* `s2`, size_t `n`);
nothrow @nogc @system size_t `wcsxfrm`(wchar_t* `s1`, in wchar_t* `s2`, size_t `n`);
nothrow @nogc @system wchar_t* `wcschr`(in wchar_t* `s`, wchar_t `c`);
nothrow @nogc @system size_t `wcscspn`(in wchar_t* `s1`, in wchar_t* `s2`);
nothrow @nogc @system wchar_t* `wcspbrk`(in wchar_t* `s1`, in wchar_t* `s2`);
nothrow @nogc @system wchar_t* `wcsrchr`(in wchar_t* `s`, wchar_t `c`);
nothrow @nogc @system size_t `wcsspn`(in wchar_t* `s1`, in wchar_t* `s2`);
nothrow @nogc @system wchar_t* `wcsstr`(in wchar_t* `s1`, in wchar_t* `s2`);
nothrow @nogc @system wchar_t* `wcstok`(wchar_t* `s1`, in wchar_t* `s2`, wchar_t** `ptr`);
nothrow @nogc @system size_t `wcslen`(in wchar_t* `s`);
nothrow @nogc @system wchar_t* `wmemchr`(in wchar_t* `s`, wchar_t `c`, size_t `n`);
nothrow @nogc @system int `wmemcmp`(in wchar_t* `s1`, in wchar_t* `s2`, size_t `n`);
nothrow @nogc @system wchar_t* `wmemcpy`(wchar_t* `s1`, in wchar_t* `s2`, size_t `n`);
nothrow @nogc @system wchar_t* `wmemmove`(wchar_t* `s1`, in wchar_t* `s2`, size_t `n`);
nothrow @nogc @system wchar_t* `wmemset`(wchar_t* `s`, wchar_t `c`, size_t `n`);
nothrow @nogc @system size_t `wcsftime`(wchar_t* `s`, size_t `maxsize`, in wchar_t* `format`, in tm* `timeptr`);
nothrow @nogc @trusted wint_t `btowc`(int `c`);
nothrow @nogc @trusted int `wctob`(wint_t `c`);
nothrow @nogc @system int `mbsinit`(in mbstate_t* `ps`);
nothrow @nogc @system size_t `mbrlen`(in char* `s`, size_t `n`, mbstate_t* `ps`);
nothrow @nogc @system size_t `mbrtowc`(wchar_t* `pwc`, in char* `s`, size_t `n`, mbstate_t* `ps`);
nothrow @nogc @system size_t `wcrtomb`(char* `s`, wchar_t `wc`, mbstate_t* `ps`);
nothrow @nogc @system size_t `mbsrtowcs`(wchar_t* `dst`, in char** `src`, size_t `len`, mbstate_t* `ps`);
nothrow @nogc @system size_t `wcsrtombs`(char* `dst`, in wchar_t** `src`, size_t `len`, mbstate_t* `ps`);

Copyright © 1999-2017 by the D Language Foundation | Page generated by Ddoc on Mon Oct 9 11:31:08 2017