mikroSDK Reference Manual
str.h
Go to the documentation of this file.
1
29#ifndef _STR_H
30#define _STR_H
31
32//Dependencies
33#include "os_port.h"
34#include "error.h"
35
36//C++ guard
37#ifdef __cplusplus
38extern "C" {
39#endif
40
41//String manipulation helper functions
42char_t *strDuplicate(const char_t *s);
43char_t *strTrimWhitespace(char_t *s);
44void strRemoveTrailingSpace(char_t *s);
45void strReplaceChar(char_t *s, char_t oldChar, char_t newChar);
46
47error_t strSafeCopy(char_t *dest, const char_t *src, size_t destSize);
48
49//C++ guard
50#ifdef __cplusplus
51}
52#endif
53
54#endif
Error codes description.
error_t
Error codes.
Definition error.h:43
RTOS abstraction layer.