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

Copyright © 1999-2023 by the D Language Foundation | Page generated by Ddoc on Wed Feb 1 17:26:17 2023