diff options
| author | Bernard Xiong <[email protected]> | 2019-03-10 13:04:25 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-03-10 13:04:25 +0800 |
| commit | 6a12704bc6a5ca96a18c15bb6cea0787b8d81e12 (patch) | |
| tree | 43ed5527841760339e3883d393ec44c376a957b8 /include/rtthread.h | |
| parent | 1cf890c1bf73558ff9b129fa64d4e11689e1bef7 (diff) | |
| parent | 584593071eac32ea7e65eedd81a36a1326bbbfe1 (diff) | |
Merge pull request #2412 from armink/fix_ulog
Update the ulog
Diffstat (limited to 'include/rtthread.h')
| -rw-r--r-- | include/rtthread.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/rtthread.h b/include/rtthread.h index d2356b8eda..e66e30fddb 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -516,6 +516,7 @@ void *rt_memcpy(void *dest, const void *src, rt_ubase_t n); rt_int32_t rt_strncmp(const char *cs, const char *ct, rt_ubase_t count); rt_int32_t rt_strcmp(const char *cs, const char *ct); rt_size_t rt_strlen(const char *src); +rt_size_t rt_strnlen(const char *s, rt_ubase_t maxlen); char *rt_strdup(const char *s); #if defined(__CC_ARM) || defined(__CLANG_ARM) /* leak strdup interface */ |
