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

FreeBSD Manual Pages

  
 
  

home | help
KSQL_TRACE(3)		    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	Ports 14.quarterly	April 21, 2018			 KSQL_TRACE(3)

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

home | help