summaryrefslogtreecommitdiffstats
path: root/libmariadb/man/mysql_close.3
blob: 7d212ac4ab184b2482b826f885b2006e562a46f2 (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
.\" Automatically generated by Pandoc 2.5
.\"
.TH "mysql_close" "3" "" "Version 3.3.1" "MariaDB Connector/C"
.hy
.SS Name
.PP
mysql_close \- Closes a previously opened connection
.SS Synopsis
.IP
.nf
\f[C]
#include <mysql.h>

void mysql_close(MYSQL *mysql);
\f[R]
.fi
.SS Description
.PP
Closes a previously opened connection and deallocates all memory.
.SS Notes
.IP \[bu] 2
To reuse a connection handle after \f[C]mysql_close()\f[R] the handle
must be initialized again by \f[B]mysql_init(3)\f[R].
.SS See also
.IP \[bu] 2
\f[B]mysql_init(3)\f[R]
.IP \[bu] 2
\f[B]mysql_real_connect(3)\f[R]