F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
StringUtils.hpp
Go to the documentation of this file.
1 #ifndef FW_STRINGUTILS_HPP
2 #define FW_STRINGUTILS_HPP
3 #include <FpConfig.hpp>
4 
5 namespace Fw {
6 namespace StringUtils {
7 
23 char* string_copy(char* destination, const char* source, U32 num);
24 
33 U32 string_length(const CHAR* source, U32 max_len);
34 
35 } // namespace StringUtils
36 } // namespace Fw
37 #endif // FW_STRINGUTILS_HPP
char CHAR
Definition: BasicTypes.h:28
C++-compatible configuration header for fprime configuration.
char * string_copy(char *destination, const char *source, U32 num)
copy string with null-termination guaranteed
Definition: StringUtils.cpp:5
U32 string_length(const CHAR *source, U32 max_len)
get the length of the source string or max_len if the string is longer than max_len.
Definition: StringUtils.cpp:20