summaryrefslogtreecommitdiff
path: root/static/netbsd/man3/sqlite3_user_data.3
diff options
context:
space:
mode:
Diffstat (limited to 'static/netbsd/man3/sqlite3_user_data.3')
-rw-r--r--static/netbsd/man3/sqlite3_user_data.330
1 files changed, 30 insertions, 0 deletions
diff --git a/static/netbsd/man3/sqlite3_user_data.3 b/static/netbsd/man3/sqlite3_user_data.3
new file mode 100644
index 00000000..800adbe7
--- /dev/null
+++ b/static/netbsd/man3/sqlite3_user_data.3
@@ -0,0 +1,30 @@
+.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