diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-07-29 14:50:02 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-07-29 14:50:02 +0000 |
commit | b8fef0cc97df4e3d9310c4e1b1bab24fba6b3e84 (patch) | |
tree | 77e5f804f4e375eb10fec291862f331f9a20556d /nuttx/include | |
parent | 1b7083741156135bda19e10271ff8a9cad8bb0f9 (diff) | |
download | px4-firmware-b8fef0cc97df4e3d9310c4e1b1bab24fba6b3e84.tar.gz px4-firmware-b8fef0cc97df4e3d9310c4e1b1bab24fba6b3e84.tar.bz2 px4-firmware-b8fef0cc97df4e3d9310c4e1b1bab24fba6b3e84.zip |
Add memccpy{}
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4990 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/string.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nuttx/include/string.h b/nuttx/include/string.h index 5fe394483..7aa028bfa 100644 --- a/nuttx/include/string.h +++ b/nuttx/include/string.h @@ -67,7 +67,6 @@ extern "C" { #define EXTERN extern #endif -EXTERN FAR char *strchr(FAR const char *s, int c); EXTERN FAR char *strdup(FAR const char *s); EXTERN FAR char *strndup(FAR const char *s, size_t size); EXTERN FAR const char *strerror(int); @@ -92,10 +91,11 @@ EXTERN FAR char *strtok(FAR char *, FAR const char *); EXTERN FAR char *strtok_r(FAR char *, FAR const char *, FAR char **); EXTERN FAR void *memchr(FAR const void *s, int c, size_t n); -EXTERN FAR void *memset(FAR void *s, int c, size_t n); -EXTERN FAR void *memcpy(FAR void *dest, FAR const void *src, size_t n); +EXTERN FAR void *memccpy(FAR void *s1, FAR const void *s2, int c, size_t n); EXTERN int memcmp(FAR const void *s1, FAR const void *s2, size_t n); +EXTERN FAR void *memcpy(FAR void *dest, FAR const void *src, size_t n); EXTERN FAR void *memmove(FAR void *dest, FAR const void *src, size_t count); +EXTERN FAR void *memset(FAR void *s, int c, size_t n); #undef EXTERN #if defined(__cplusplus) |