1
0
mirror of https://github.com/simh/simh.git synced 2026-02-02 14:52:18 +00:00

FIO: Add sim_trim_spc API to trim spaces from the front and back of a string

This commit is contained in:
Mark Pizzolato
2025-10-01 10:47:39 -10:00
parent 43bc996cdb
commit 5c59cced96
2 changed files with 21 additions and 0 deletions

View File

@@ -120,6 +120,7 @@ extern t_bool sim_end; /* TRUE = little endian, FALSE = big endian
extern const char sim_file_path_separator; /* Platform specific value \ or / as appropriate */
char *sim_trim_endspc (char *cptr);
char *sim_trim_spc (char *cptr);
int sim_isspace (int c);
#ifdef isspace
#undef isspace