|
|
1.1 ! root 1: /* ! 2: Hatari - str.h ! 3: ! 4: This file is distributed under the GNU Public License, version 2 or at ! 5: your option any later version. Read the file gpl.txt for details. ! 6: */ ! 7: ! 8: #ifndef HATARI_STR_H ! 9: #define HATARI_STR_H ! 10: ! 11: #include <string.h> ! 12: #include <config.h> ! 13: #if HAVE_STRINGS_H ! 14: # include <strings.h> ! 15: #endif ! 16: ! 17: /* Invalid characters in paths & filenames are replaced by this ! 18: * (valid but very uncommon GEMDOS file name character) ! 19: */ ! 20: #define INVALID_CHAR '@' ! 21: ! 22: char *Str_Trim(char *buffer); ! 23: char *Str_ToUpper(char *pString); ! 24: char *Str_ToLower(char *pString); ! 25: char *Str_Trunc(char *str); ! 26: bool Str_IsHex(const char *str); ! 27: ! 28: #endif /* HATARI_STR_H */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.