summaryrefslogtreecommitdiff
path: root/src/shared.h
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2025-01-06 21:04:27 -0600
committer@syxhe <https://t.me/syxhe>2025-01-06 21:04:27 -0600
commit227bc3560762ae770564fcd8bad36b334696bb0b (patch)
tree4bbc6ffea7036e979a701b7107ab1ef41b97e55d /src/shared.h
parentf8e94a1179633799579a09dce1841f41e3b73f05 (diff)
sdptiny
Diffstat (limited to 'src/shared.h')
-rw-r--r--src/shared.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/shared.h b/src/shared.h
index fef19ca..b10462e 100644
--- a/src/shared.h
+++ b/src/shared.h
@@ -15,10 +15,4 @@ void* xcalloc(size_t nmemb, size_t size);
15// `reallocarray()` with error checking. Calls `error()` or `abort()` on error, depending on the value of `___VXGG___XCALLOC_EXIT_ON_ERROR___` 15// `reallocarray()` with error checking. Calls `error()` or `abort()` on error, depending on the value of `___VXGG___XCALLOC_EXIT_ON_ERROR___`
16void* xreallocarray(void *ptr, size_t nmemb, size_t size); 16void* xreallocarray(void *ptr, size_t nmemb, size_t size);
17 17
18// `vsprintf()`, but reallocates enough room for the resulting string before writing to `str`
19int vsaprintf(char **str, const char *format, va_list ap);
20
21// `sprintf()`, but reallocates enough room for the resulting string before writing to `str`
22int saprintf(char **str, const char *format, ...);
23
24#endif \ No newline at end of file 18#endif \ No newline at end of file