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
Standards:
ISO/IEC 9899:1999 (E)
pure nothrow @nogc @system inout(void)* memchr(inout return 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);