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

FreeBSD Manual Pages

  
 
  

home | help
KSQL_EXEC(3)		 BSD Library Functions Manual		  KSQL_EXEC(3)

NAME
     ksql_exec -- execute a standalone statement not returning any values

LIBRARY
     library "ksql"

SYNOPSIS
     #include <ksql.h>

     enum ksqlc
     ksql_exec(struct ksql *sql, const char *stmt, size_t id);

DESCRIPTION
     The ksql_exec function executes stmt on an	open database connection sql.
     It	is identified as id, although this value is not	yet used (it should
     not, however, be SIZE_MAX,	which is reserved for internal usage).

     This function handles a locked database (specifically, SQLITE_BUSY,
     SQLITE_LOCKED, or SQLITE_PROTOCOL)	by sleeping for	a random interval,
     then trying again infinitely.

RETURN VALUES
     These functions return KSQL_NOTOPEN if the	database connection has	not
     been opeend, KSQL_DB on database errors, or KSQL_OK otherwise.

SEE ALSO
     sqlite3_exec(3)

BSD				 April 5, 2016				   BSD

NAME | LIBRARY | SYNOPSIS | DESCRIPTION | RETURN VALUES | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=ksql_exec&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help