Go to the SVN repository for this file.
18 const char unsafestr[] =
"This is a string with ' and \" in it.";
24 main(
intargc,
char**argv)
31fprintf(stdout,
"Starting %s\n", argv[0]);
41fprintf(stdout,
"short buffer, single\n%s\n",
safestr);
48fprintf(stdout,
"single quote\n%s\n",
safestr);
54fprintf(stdout,
"double quote\n%s\n",
safestr);
60fprintf(stdout,
"both quotes\n%s\n",
safestr);
64fprintf(stdout,
"%s %s\n", __FILE__, (
failed?
"failed!":
"OK"));
70fprintf(stderr,
"Not supported by MS DBLib\n");
void set_malloc_options(void)
RETCODE dbinit(void)
Initialize db-lib.
void dbexit()
Close server connections and free all related structures.
RETCODE dbsafestr(DBPROCESS *dbproc, const char *src, DBINT srclen, char *dest, DBINT destlen, int quotetype)
safely quotes character values in SQL text.
int main(int argc, char **argv)
static void * no_unused_var_warn[]
static char software_version[]
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4