xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_user_data.3 (revision b9988867a8ad969c45a52aa7628bc932ec98d46b)
1.Dd January 24, 2024
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.In sqlite3.h
9.Ft void *
10.Fo sqlite3_user_data
11.Fa "sqlite3_context*"
12.Fc
13.Sh DESCRIPTION
14The sqlite3_user_data() interface returns a copy of the pointer that
15was the pUserData parameter (the 5th parameter) of the
16.Fn sqlite3_create_function
17and
18.Fn sqlite3_create_function16
19routines that originally registered the application defined function.
20.Pp
21This routine must be called from the same thread in which the application-defined
22function is running.
23.Sh IMPLEMENTATION NOTES
24These declarations were extracted from the
25interface documentation at line 5876.
26.Bd -literal
27SQLITE_API void *sqlite3_user_data(sqlite3_context*);
28.Ed
29.Sh SEE ALSO
30.Xr sqlite3_create_function 3
31