1/* 2 * Copyright 2014, General Dynamics C4 Systems 3 * 4 * This software may be distributed and modified according to the terms of 5 * the GNU General Public License version 2. Note that NO WARRANTY is provided. 6 * See "LICENSE_GPLv2.txt" for details. 7 * 8 * @TAG(GD_GPL) 9 */ 10 11#ifndef __STRING_H 12#define __STRING_H 13 14#include <stdint.h> 15 16word_t strnlen(const char *s, word_t maxlen); 17word_t strlcpy(char *dest, const char *src, word_t size); 18word_t strlcat(char *dest, const char *src, word_t size); 19 20#endif 21