summary refs log tree commit diff
path: root/man/libhttpc_request_.3
blob: b1558f4233d8fee0dad87b4407186ad78a20c09c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
.Dd December 13, 2024
.Dt LIBHTTPC_REQUEST_ 3
.Os
.
.Sh NAME
.Nm LibHTTPC_Request_
.Nd
.Xr libhttpc_request 3
destructor
.
.Sh SYNOPSIS
.In libhttpc/libhttpc.h
.Fc
.Ft int
.Fo LibHTTPC_Request_
.Fa "struct LibHTTPC_Request *request"
.Fc
.
.Sh DESCRIPTION
.Nm
is a destructor of
.Xr libhttpc_request 3 .
It frees array
if header_selfalloc is set,
and then frees structure
if selfalloc is set.
.
.Sh RETURN VALUES
.Nm
returns either
-1
if user hadn't set
.Xr libhttpc-alloc 3
or
.Xr errno 3 .
.
.Sh SEE ALSO
.Xr libhttpc 3 ,
.Xr libhttpc-alloc 3 ,
.Xr libhttpc_header 3 ,
.Xr libhttpc_request 3
.
.Sh AUTHORS
.An Nakidai Perumenei Aq Mt nakidai@disroot.org