A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/t0021_8c_source.html below:

NCBI C++ ToolKit: src/dbapi/driver/ftds100/freetds/dblib/unittests/t0021.c Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

18 const char unsafestr

[] =

"This is a string with ' and \" in it."

;

24 main

(

int

argc,

char

**argv)

31

fprintf(stdout,

"Starting %s\n"

, argv[0]);

41

fprintf(stdout,

"short buffer, single\n%s\n"

,

safestr

);

48

fprintf(stdout,

"single quote\n%s\n"

,

safestr

);

54

fprintf(stdout,

"double quote\n%s\n"

,

safestr

);

60

fprintf(stdout,

"both quotes\n%s\n"

,

safestr

);

64

fprintf(stdout,

"%s %s\n"

, __FILE__, (

failed

?

"failed!"

:

"OK"

));

70

fprintf(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