Luca Jel
/
mbed5a_testy
sdsd
Fork of mbed5a_testy by
string.h
- Committer:
- Robsonik16
- Date:
- 2017-05-05
- Revision:
- 1:b8d65b5745d1
- Parent:
- other/string.h@ 0:e69a0b7f4b41
File content as of revision 1:b8d65b5745d1:
#define NULL 0 #define TERMINATOR '\r' #define DELIMITER_CHAR 0x20 enum CompResult { NOTEQUAL, EQUAL }; enum Result { OK, ERROR }; void CopyString(char pcSource[], char pcDestination[]); void AppendString (char pcSourceStr[], char pcDestinationStr[]); void AppendUIntToString (unsigned int uiValue, char pcDestinationStr[]); void ReplaceCharactersInString(char pcString[], char cOldChar,char cNewChar); void UIntToHexStr (unsigned int uiValue, char pcStr[]); enum CompResult eCompareString(char pcStr1[], char pcStr2[]); enum Result eHexStringToUInt(char pcStr[],unsigned int *puiValue);