Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
KSQL_STMT_FREE(3)	    Library Functions Manual	     KSQL_STMT_FREE(3)

NAME
       ksql_stmt_free -- free a	statement on a database	connection

LIBRARY
       library "ksql"

SYNOPSIS
       #include	<sys/types.h>
       #include	<stdint.h>
       #include	<ksql.h>

       enum ksqlc
       ksql_stmt_free(struct ksqlstmt *stmt);

DESCRIPTION
       The   ksql_stmt_free   function	 frees	 a  statement  allocated  with
       ksql_stmt_alloc(3),  invoking  sqlite3_finalize(3)  on  the  underlying
       statement.  This	does nothing if	stmt is	NULL.

RETURN VALUES
       Returns	KSQL_OK	 on  success  or another error on failure.  Note: this
       does not	return the code	of sqlite3_finalize(3),	which  itself  returns
       the  code of the	last step and not the failure of the resource de-allo-
       cation.

SEE ALSO
       sqlite3_finalize(3)

FreeBSD	Ports 14.quarterly	 April 3, 2018		     KSQL_STMT_FREE(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=ksql_stmt_free&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>

home | help