xref: /netbsd-src/external/public-domain/sqlite/man/sqlite3_stricmp.3 (revision b9988867a8ad969c45a52aa7628bc932ec98d46b)
1.Dd January 24, 2024
2.Dt SQLITE3_STRICMP 3
3.Os
4.Sh NAME
5.Nm sqlite3_stricmp ,
6.Nm sqlite3_strnicmp
7.Nd string comparison
8.Sh SYNOPSIS
9.In sqlite3.h
10.Ft int
11.Fo sqlite3_stricmp
12.Fa "const char *"
13.Fa "const char *"
14.Fc
15.Ft int
16.Fo sqlite3_strnicmp
17.Fa "const char *"
18.Fa "const char *"
19.Fa "int"
20.Fc
21.Sh DESCRIPTION
22The
23.Fn sqlite3_stricmp
24and
25.Fn sqlite3_strnicmp
26APIs allow applications and extensions to compare the contents of two
27buffers containing UTF-8 strings in a case-independent fashion, using
28the same definition of "case independence" that SQLite uses internally
29when comparing identifiers.
30.Sh IMPLEMENTATION NOTES
31These declarations were extracted from the
32interface documentation at line 9438.
33.Bd -literal
34SQLITE_API int sqlite3_stricmp(const char *, const char *);
35SQLITE_API int sqlite3_strnicmp(const char *, const char *, int);
36.Ed
37