Generic, non-optimized string operations. More...
#include <types.h>#include <compiler.h>Go to the source code of this file.
Functions | |
Generic String Implementation | |
For testing purposes, and for architectures which don't have or need optimized implementations of the standard string operations, a generic, non-optimized implementation is available for the all string operations. If you need access to these generic string operations, you need to set | |
| void * | generic_memcpy (void *dest, const void *src, size_t n) |
| void * | generic_memset (void *s, int c, size_t n) |
| size_t | generic_strlen (const char *str) |
| int | generic_strcmp (const char *str1, const char *str2) __nonnull(1 |
| int int | generic_strncmp (const char *str1, const char *str2, size_t n) __nonnull(1 |
Generic, non-optimized string operations.
These functions may be used by all architectures which don't have their own hand-optimized implementations of one or more string operations. They can also be useful when testing the optimized string operations.
Copyright (C) 2009 - 2010 Atmel Corporation. All rights reserved.
Definition in file string.h.
1.6.3