source:
mainline/uspace/lib/cpp/include/cstring@
8fd0675f
| Last change on this file since 8fd0675f was b57ba05, checked in by , 3 years ago | |
|---|---|
|
|
| File size: 700 bytes | |
| Rev | Line | |
|---|---|---|
| [b83ec692] | 1 | /* |
| [b57ba05] | 2 | * SPDX-FileCopyrightText: 2018 Jaroslav Jindrak |
| [b83ec692] | 3 | * |
| [b57ba05] | 4 | * SPDX-License-Identifier: BSD-3-Clause |
| [b83ec692] | 5 | */ |
| 6 | ||
| 7 | #ifndef LIBCPP_CSTRING | |
| 8 | #define LIBCPP_CSTRING | |
| 9 | ||
| [bc56f30] | 10 | #define _REALLY_WANT_STRING_H |
| 11 | #include <string.h> | |
| [de53138] | 12 | |
| [b83ec692] | 13 | namespace std |
| 14 | { | |
| [bc56f30] | 15 | using ::size_t; |
| [b83ec692] | 16 | |
| [bc56f30] | 17 | using ::strcpy; |
| 18 | using ::strncpy; | |
| 19 | using ::strcat; | |
| 20 | using ::strncat; | |
| 21 | using ::strxfrm; | |
| [de53138] | 22 | |
| [bc56f30] | 23 | using ::strlen; |
| 24 | using ::strcmp; | |
| 25 | using ::strncmp; | |
| 26 | using ::strcoll; | |
| 27 | using ::strchr; | |
| 28 | using ::strrchr; | |
| 29 | using ::strspn; | |
| 30 | using ::strcspn; | |
| 31 | using ::strpbrk; | |
| 32 | using ::strstr; | |
| 33 | using ::strtok; | |
| [de53138] | 34 | |
| [bc56f30] | 35 | using ::memchr; |
| 36 | using ::memcmp; | |
| 37 | using ::memset; | |
| 38 | using ::memcpy; | |
| 39 | using ::memmove; | |
| [b83ec692] | 40 | |
| [bc56f30] | 41 | using ::strerror; |
| [b83ec692] | 42 | } |
| 43 | ||
| 44 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
