Lely core libraries 1.9.2
string.h
Go to the documentation of this file.
1
22#ifndef LELY_LIBC_STRING_H_
23#define LELY_LIBC_STRING_H_
24
25#include <lely/features.h>
26
27#include <string.h>
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33#if !(_MSC_VER >= 1400) && !(_POSIX_C_SOURCE >= 200809L) \
34 && !defined(__MINGW32__)
35
42char *strdup(const char *s);
43
44#endif
45
46#if !(_POSIX_C_SOURCE >= 200809L)
47
55char *strndup(const char *s, size_t size);
56
57#endif
58
59#if !(_MSC_VER >= 1400) && !(_POSIX_C_SOURCE >= 200809L) \
60 && !defined(__MINGW32__)
61
69size_t strnlen(const char *s, size_t maxlen);
70
71#endif
72
73#ifdef __cplusplus
74}
75#endif
76
77#endif // !LELY_LIBC_STRING_H_
This header file is part of the Lely libraries; it contains the compiler feature definitions.
This header file is part of the C11 and POSIX compatibility library; it includes <string....