.Dd January 24, 2024
.Dt SQLITE3_USER_DATA 3
.Os
.Sh NAME
.Nm sqlite3_user_data
.Nd user data for functions
.Sh SYNOPSIS
.In sqlite3.h
.Ft void *
.Fo sqlite3_user_data
.Fa "sqlite3_context*"
.Fc
.Sh DESCRIPTION
The sqlite3_user_data() interface returns a copy of the pointer that
was the pUserData parameter (the 5th parameter) of the
.Fn sqlite3_create_function
and
.Fn sqlite3_create_function16
routines that originally registered the application defined function.
.Pp
This routine must be called from the same thread in which the application-defined
function is running.
.Sh IMPLEMENTATION NOTES
These declarations were extracted from the
interface documentation at line 5876.
.Bd -literal
SQLITE_API void *sqlite3_user_data(sqlite3_context*);
.Ed
.Sh SEE ALSO
.Xr sqlite3_create_function 3