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

FreeBSD Manual Pages

  
 
  

home | help
KSQL_TRACE(3)	       FreeBSD Library Functions Manual		 KSQL_TRACE(3)

NAME
     ksql_trace	-- enable SQLite logging

LIBRARY
     library "ksql"

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

     enum ksqlc
     ksql_trace(struct ksql *sql);

DESCRIPTION
     This function causes SQLite to emit error and debug messages.  Messages
     are passed	to the error message handler set during	ksql_alloc(3) or
     ksql_alloc_child(3).  It may be disabled with ksql_untrace(3).

     The ksql_trace() function may only	be called prior	to ksql_open(3).

RETURN VALUES
     This returns KSQL_ALREADYOPEN if invoked after ksql_open(3) or
     KSQL_SYSTEM on system error.  Otherwise, it returns KSQL_OK.

SEE ALSO
     ksql_untrace(3)

FreeBSD	13.0			April 21, 2018			  FreeBSD 13.0

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_trace&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help