Lely core libraries
2.2.5
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
30
extern
"C"
{
31
#endif
32
33
#if !(_MSC_VER >= 1400) && !(_POSIX_C_SOURCE >= 200809L) \
34
&& !defined(__MINGW32__)
35
42
char
*strdup(
const
char
*s);
43
44
#endif
45
46
#if !(_POSIX_C_SOURCE >= 200809L)
47
55
char
*strndup(
const
char
*s,
size_t
size);
56
57
#endif
58
59
#if !(_MSC_VER >= 1400) && !(_POSIX_C_SOURCE >= 200809L) \
60
&& !defined(__MINGW32__)
61
69
size_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_
features.h
string.h
include
lely
libc
string.h
Generated by
1.8.17