summaryrefslogtreecommitdiff
path: root/static/netbsd/man3/SQLITE_INTEGER.3
diff options
context:
space:
mode:
authorJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 19:55:15 -0400
committerJacob McDonnell <jacob@jacobmcdonnell.com>2026-04-25 19:55:15 -0400
commit253e67c8b3a72b3a4757fdbc5845297628db0a4a (patch)
treeadf53b66087aa30dfbf8bf391a1dadb044c3bf4d /static/netbsd/man3/SQLITE_INTEGER.3
parenta9157ce950dfe2fc30795d43b9d79b9d1bffc48b (diff)
docs: Added All NetBSD Manuals
Diffstat (limited to 'static/netbsd/man3/SQLITE_INTEGER.3')
-rw-r--r--static/netbsd/man3/SQLITE_INTEGER.355
1 files changed, 55 insertions, 0 deletions
diff --git a/static/netbsd/man3/SQLITE_INTEGER.3 b/static/netbsd/man3/SQLITE_INTEGER.3
new file mode 100644
index 00000000..71d999be
--- /dev/null
+++ b/static/netbsd/man3/SQLITE_INTEGER.3
@@ -0,0 +1,55 @@
+.Dd January 24, 2024
+.Dt SQLITE_INTEGER 3
+.Os
+.Sh NAME
+.Nm SQLITE_INTEGER ,
+.Nm SQLITE_FLOAT ,
+.Nm SQLITE_BLOB ,
+.Nm SQLITE_NULL ,
+.Nm SQLITE_TEXT ,
+.Nm SQLITE3_TEXT
+.Nd fundamental datatypes
+.Sh SYNOPSIS
+.In sqlite3.h
+.Fd #define SQLITE_INTEGER
+.Fd #define SQLITE_FLOAT
+.Fd #define SQLITE_BLOB
+.Fd #define SQLITE_NULL
+.Fd #define SQLITE_TEXT
+.Fd #define SQLITE3_TEXT
+.Sh DESCRIPTION
+Every value in SQLite has one of five fundamental datatypes:
+.Bl -bullet
+.It
+64-bit signed integer
+.It
+64-bit IEEE floating point number
+.It
+string
+.It
+BLOB
+.It
+NULL
+.El
+.Pp
+These constants are codes for each of those types.
+.Pp
+Note that the SQLITE_TEXT constant was also used in SQLite version
+2 for a completely different meaning.
+Software that links against both SQLite version 2 and SQLite version
+3 should use SQLITE3_TEXT, not SQLITE_TEXT.
+.Sh IMPLEMENTATION NOTES
+These declarations were extracted from the
+interface documentation at line 5009.
+.Bd -literal
+#define SQLITE_INTEGER 1
+#define SQLITE_FLOAT 2
+#define SQLITE_BLOB 4
+#define SQLITE_NULL 5
+#ifdef SQLITE_TEXT
+# undef SQLITE_TEXT
+#else
+# define SQLITE_TEXT 3
+#endif
+#define SQLITE3_TEXT 3
+.Ed