W3cubDocs

/D

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(return const 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* strcpy(return char* s1, scope const char* s2)
pure nothrow @nogc @system char* strncpy(return char* s1, scope const char* s2, size_t n)
pure nothrow @nogc @system char* strcat(return char* s1, scope const char* s2)
pure nothrow @nogc @system char* strncat(return char* s1, scope const char* s2, size_t n)
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 int strncmp(scope const char* s1, scope const char* s2, size_t n)
nothrow @nogc @system size_t strxfrm(scope char* s1, scope const char* s2, size_t n)
pure nothrow @nogc @system inout(char)* strchr(return inout(char)* s, int c)
pure nothrow @nogc @system size_t strcspn(scope const char* s1, scope const char* s2)
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 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)
nothrow @nogc @system char* strdup(scope const char* s)

© 1999–2017 The D Language Foundation
Licensed under the Boost License 1.0.
https://dlang.org/phobos/core_stdc_string.html