From adb0973bb355b9f7eb27d9842116e43c7f77d261 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Wed, 27 Sep 2023 01:09:04 +0200 Subject: Add man pages --- doc/man3/handler_free.3 | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 doc/man3/handler_free.3 (limited to 'doc/man3/handler_free.3') diff --git a/doc/man3/handler_free.3 b/doc/man3/handler_free.3 new file mode 100644 index 0000000..1a89fa9 --- /dev/null +++ b/doc/man3/handler_free.3 @@ -0,0 +1,40 @@ +.TH HANDLER_FREE 3 2023-09-14 0.1.0 "slweb Library Reference" + +.SH NAME +handler_free \- free a web server handler object + +.SH SYNOPSIS +.LP +.nf +#include +.P +void handler_free(struct handler *\fIh\fP); +.fi + +.SH DESCRIPTION +The +.IR handler_free (3) +function frees the memory space pointed to by +.IR h , +which must have been returned by a previous call to +.IR handler_alloc (3). + +.SH RETURN VALUE +The +.IR handler_free (3) +function returns no value. + +.SH ERRORS +No errors are defined. + +.SH SEE ALSO +.BR handler_alloc (3), +.BR slweb_handler (7). + +.SH COPYRIGHT +Copyright (C) 2023 Xavier Del Campo Romero. +.P +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. -- cgit v1.2.3