SQLITE3_USER_DATA(3) Library Functions Manual SQLITE3_USER_DATA(3)

sqlite3_user_data — user data for functions

#include <sqlite3.h>

void *
sqlite3_user_data(sqlite3_context*);

The sqlite3_user_data() interface returns a copy of the pointer that was the pUserData parameter (the 5th parameter) of the () and () routines that originally registered the application defined function.

This routine must be called from the same thread in which the application-defined function is running.

These declarations were extracted from the interface documentation at line 6255.

SQLITE_API void *sqlite3_user_data(sqlite3_context*);

sqlite3_create_function(3)

April 29, 2026 NetBSD 11.99