/* * Copyright 2014, General Dynamics C4 Systems * * This software may be distributed and modified according to the terms of * the GNU General Public License version 2. Note that NO WARRANTY is provided. * See "LICENSE_GPLv2.txt" for details. * * @TAG(GD_GPL) */ #ifndef __STRING_H #define __STRING_H #include #if defined(CONFIG_DEBUG_BUILD) || defined(CONFIG_PRINTING) #include word_t strnlen(const char *s, word_t maxlen); word_t strlcpy(char *dest, const char *src, word_t size); word_t strlcat(char *dest, const char *src, word_t size); #endif #endif