summary refs log tree commit diff
path: root/man/libhttpc-alloc.3
diff options
context:
space:
mode:
Diffstat (limited to 'man/libhttpc-alloc.3')
-rw-r--r--man/libhttpc-alloc.334
1 files changed, 34 insertions, 0 deletions
diff --git a/man/libhttpc-alloc.3 b/man/libhttpc-alloc.3
new file mode 100644
index 0000000..4fed7e4
--- /dev/null
+++ b/man/libhttpc-alloc.3
@@ -0,0 +1,34 @@
+.Dd December 13, 2024
+.Dt LIBHTTPC-ALLOC 3
+.Os
+.
+.Sh NAME
+.Nm LibHTTPC_Malloc ,
+.Nm LibHTTPC_Realloc ,
+.Nm LibHTTPC_Free
+.Nd types for defining
+.Xr malloc 3
+functions
+.
+.Sh SYNOPSIS
+.Vt typedef void *LibHTTPC_Malloc(size_t);
+.Vt typedef void *LibHTTPC_Realloc(void *, size_t);
+.Vt typedef void LibHTTPC_Free(size_t);
+.Vt extern LibHTTPC_Malloc *LibHTTPC_malloc;
+.Vt extern LibHTTPC_Realloc *LibHTTPC_realloc;
+.Vt extern LibHTTPC_Free *LibHTTPC_free;
+.
+.Sh DESCRIPTION
+These are variables
+that are used
+for setting own
+malloc implementation.
+Set them
+using
+.Ql LibHTTPC
+.
+.Sh SEE ALSO
+.Xr libhttpc 3
+.
+.Sh AUTHORS
+.An Nakidai Perumenei Aq Mt nakidai@disroot.org