Menu

- Learn
- Documentation
  - Language Reference
  - Library Reference
  - Command-line Reference
  - Feature Overview
  - Articles
- Downloads
- Packages
- Community
  - Blog
  - Orgs using D
  - Twitter
  - Calendar
  - 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.string

D header file for C99.
This module contains bindings to selected types and functions from the standard C header <string.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/string.d

Standards:
ISO/IEC 9899:1999 (E)

pure nothrow @nogc @system inout(void)* `memchr`(return inout void* `s`, int `c`, size_t `n`);
pure nothrow @nogc @system int `memcmp`(scope const void* `s1`, scope const void* `s2`, size_t `n`);
pure nothrow @nogc @system void* `memcpy`(return void* `s1`, scope const void* `s2`, size_t `n`);
pure nothrow @nogc @system void* `memmove`(return void* `s1`, scope const void* `s2`, size_t `n`);
pure nothrow @nogc @system void* `memset`(return void* `s`, int `c`, size_t `n`);
pure nothrow @nogc @system char* `strcat`(return char* `s1`, scope const char* `s2`);
pure nothrow @nogc @system inout(char)* `strchr`(return inout(char)* `s`, int `c`);
pure nothrow @nogc @system int `strcmp`(scope const char* `s1`, scope const char* `s2`);
nothrow @nogc @system int `strcoll`(scope const char* `s1`, scope const char* `s2`);
pure nothrow @nogc @system char* `strcpy`(return char* `s1`, scope const char* `s2`);
pure nothrow @nogc @system size_t `strcspn`(scope const char* `s1`, scope const char* `s2`);
nothrow @nogc @system char* `strdup`(scope const char* `s`);
nothrow @nogc @system char* `strerror`(int `errnum`);
nothrow @nogc @system const(char)* `strerror_r`(int `errnum`, return char* `buf`, size_t `buflen`);
pure nothrow @nogc @system size_t `strlen`(scope const char* `s`);
pure nothrow @nogc @system char* `strncat`(return char* `s1`, scope const char* `s2`, size_t `n`);
pure nothrow @nogc @system int `strncmp`(scope const char* `s1`, scope const char* `s2`, size_t `n`);
pure nothrow @nogc @system char* `strncpy`(return char* `s1`, scope const char* `s2`, size_t `n`);
pure nothrow @nogc @system inout(char)* `strpbrk`(return inout(char)* `s1`, scope const char* `s2`);
pure nothrow @nogc @system inout(char)* `strrchr`(return inout(char)* `s`, int `c`);
pure nothrow @nogc @system size_t `strspn`(scope const char* `s1`, scope const char* `s2`);
pure nothrow @nogc @system inout(char)* `strstr`(return inout(char)* `s1`, scope const char* `s2`);
nothrow @nogc @system char* `strtok`(return char* `s1`, scope const char* `s2`);
nothrow @nogc @system size_t `strxfrm`(scope char* `s1`, scope const char* `s2`, size_t `n`);

Copyright © 1999-2021 by the D Language Foundation | Page generated by Ddoc on Thu Jun 3 21:31:18 2021