xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_user_data.3 (revision bdc22b2e01993381dcefeff2bc9b56ca75a4235c)
1.Dd March 11, 2017
2.Dt SQLITE3_USER_DATA 3
3.Os
4.Sh NAME
5.Nm sqlite3_user_data
6.Nd User Data For Functions
7.Sh SYNOPSIS
8.Ft void *
9.Fo sqlite3_user_data
10.Fa "sqlite3_context*"
11.Fc
12.Sh DESCRIPTION
13The sqlite3_user_data() interface returns a copy of the pointer that
14was the pUserData parameter (the 5th parameter) of the sqlite3_create_function()
15and sqlite3_create_function16() routines
16that originally registered the application defined function.
17.Pp
18This routine must be called from the same thread in which the application-defined
19function is running.
20.Sh SEE ALSO
21.Xr sqlite3_create_function 3
22