summaryrefslogtreecommitdiff
path: root/src/util.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2026-06-13 17:19:51 +0100
committerIan C <ianc@noddybox.co.uk>2026-06-13 17:19:51 +0100
commit8f4656b7920d37b3f1df5944dfe9307264a52f0b (patch)
treee5540480b3e8aced36c7c1f738f90d26c685e103 /src/util.h
parent24a7e3ac0103979dcef910f0b87f3eea234d2353 (diff)
Reorganised tape files a bit and select one if none selected when patch is hit
Diffstat (limited to 'src/util.h')
-rw-r--r--src/util.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/util.h b/src/util.h
index 922f641..c82169e 100644
--- a/src/util.h
+++ b/src/util.h
@@ -47,6 +47,13 @@ void *Realloc(void *p, size_t size);
char *StrCopy(const char *source);
+/* Safely copies a string. The destination is returned.
+*/
+char *SafeStrCopy(char *destination,
+ const char *source,
+ size_t destination_size);
+
+
/* Returns the filename portion of path. Note returned pointer is pointing
inside of path.
*/