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 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 void* memchr(in void* s, int c, size_t n);

pure nothrow @nogc @system int memcmp(in void* s1, in void* s2, size_t n);

pure nothrow @nogc @system void* memcpy(void* s1, in void* s2, size_t n);

pure nothrow @nogc @system void* memmove(void* s1, in void* s2, size_t n);

pure nothrow @nogc @system void* memset(void* s, int c, size_t n);

pure nothrow @nogc @system char* strcpy(char* s1, in char* s2);

pure nothrow @nogc @system char* strncpy(char* s1, in char* s2, size_t n);

pure nothrow @nogc @system char* strcat(char* s1, in char* s2);

pure nothrow @nogc @system char* strncat(char* s1, in char* s2, size_t n);

pure nothrow @nogc @system int strcmp(in char* s1, in char* s2);

nothrow @nogc @system int strcoll(in char* s1, in char* s2);

pure nothrow @nogc @system int strncmp(in char* s1, in char* s2, size_t n);

nothrow @nogc @system size_t strxfrm(char* s1, in char* s2, size_t n);

pure nothrow @nogc @system char* strchr(in char* s, int c);

pure nothrow @nogc @system size_t strcspn(in char* s1, in char* s2);

pure nothrow @nogc @system char* strpbrk(in char* s1, in char* s2);

pure nothrow @nogc @system char* strrchr(in char* s, int c);

pure nothrow @nogc @system size_t strspn(in char* s1, in char* s2);

pure nothrow @nogc @system char* strstr(in char* s1, in char* s2);

nothrow @nogc @system char* strtok(char* s1, in char* s2);

nothrow @nogc @system char* strerror(int errnum);

nothrow @nogc @system const(char)* strerror_r(int errnum, char* buf, size_t buflen);

pure nothrow @nogc @system size_t strlen(in char* s);

nothrow @nogc @system char* strdup(in char* s);