diff options
Diffstat (limited to 'libmariadb/man/mysql_close.3')
-rw-r--r-- | libmariadb/man/mysql_close.3 | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/libmariadb/man/mysql_close.3 b/libmariadb/man/mysql_close.3 new file mode 100644 index 00000000..7d212ac4 --- /dev/null +++ b/libmariadb/man/mysql_close.3 @@ -0,0 +1,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] |