diff options
| author | armink <[email protected]> | 2019-03-14 20:37:30 +0800 |
|---|---|---|
| committer | armink <[email protected]> | 2019-03-14 20:37:30 +0800 |
| commit | dba2b47d45d8b46a960110d1d7d0549d40d17abb (patch) | |
| tree | 66b0104ff833d11ed24f1791a0939b6c5ae38527 /include/rtthread.h | |
| parent | 4a34b41dd682b2f3b0132713dff7bd61cc80def9 (diff) | |
Sync from master (fc5cfe0a5e5709878f50b904df7c3355078941dd)
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 96ebe1940a..5d3fd3def6 100644 --- a/include/rtthread.h +++ b/include/rtthread.h @@ -497,6 +497,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 */ |
