blob: c3b1e46ec6d493f9db6f3f5aede5a347f0f207d2 [file] [log] [blame]
Richard Smithba838c52015-10-10 01:25:31 +00001// -*- C++ -*-
2//===--------------------------- string.h ---------------------------------===//
3//
4// The LLVM Compiler Infrastructure
5//
6// This file is distributed under the University of Illinois Open Source
7// License. See LICENSE.TXT for details.
8//
9//===----------------------------------------------------------------------===//
10
11#ifndef _LIBCPP_STRING_H
12#define _LIBCPP_STRING_H
13
14/*
15 string.h synopsis
16
17Macros:
18
19 NULL
20
21Types:
22
23 size_t
24
25void* memcpy(void* restrict s1, const void* restrict s2, size_t n);
26void* memmove(void* s1, const void* s2, size_t n);
27char* strcpy (char* restrict s1, const char* restrict s2);
28char* strncpy(char* restrict s1, const char* restrict s2, size_t n);
29char* strcat (char* restrict s1, const char* restrict s2);
30char* strncat(char* restrict s1, const char* restrict s2, size_t n);
31int memcmp(const void* s1, const void* s2, size_t n);
32int strcmp (const char* s1, const char* s2);
33int strncmp(const char* s1, const char* s2, size_t n);
34int strcoll(const char* s1, const char* s2);
35size_t strxfrm(char* restrict s1, const char* restrict s2, size_t n);
36const void* memchr(const void* s, int c, size_t n);
37 void* memchr( void* s, int c, size_t n);
38const char* strchr(const char* s, int c);
39 char* strchr( char* s, int c);
40size_t strcspn(const char* s1, const char* s2);
41const char* strpbrk(const char* s1, const char* s2);
42 char* strpbrk( char* s1, const char* s2);
43const char* strrchr(const char* s, int c);
44 char* strrchr( char* s, int c);
45size_t strspn(const char* s1, const char* s2);
46const char* strstr(const char* s1, const char* s2);
47 char* strstr( char* s1, const char* s2);
48char* strtok(char* restrict s1, const char* restrict s2);
49void* memset(void* s, int c, size_t n);
50char* strerror(int errnum);
51size_t strlen(const char* s);
52
53*/
54
55#include <__config>
56
57#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
58#pragma GCC system_header
59#endif
60
61#include_next <string.h>
62
63#endif // _LIBCPP_STRING_H