F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
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 "
Fw/Types/BasicTypes.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 CHAR
Definition:
BasicTypes.hpp:99
Fw::StringUtils::string_copy
char * string_copy(char *destination, const char *source, U32 num)
copy string with null-termination guaranteed
Definition:
StringUtils.cpp:5
Fw::StringUtils::string_length
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
BasicTypes.hpp
Declares ISF basic types.
Fw
Definition:
Buffer.cpp:21
Fw
Types
StringUtils.hpp
Generated by
1.8.17