Mailing List Archive



Back to the month index Back to the list index

David Sklar (sklar@student.net)
Tue, 1 Apr 1997 13:24:44 -0500 (EST)


Date: Tue, 1 Apr 1997 13:24:44 -0500 (EST)
From: David Sklar <sklar@student.net>
Subject: [mSQL] escaping characters in c
Message-Id: <Pine.LNX.3.95.970401132336.5502D-100000@juan-epstein.student.net>

hi. does anyone have any handy routines for escaping out ' and \ in
strings in C? It's (duh) real easy in perl, but I'm writing some stuff
with the C api now and need to make some strings of arbitrary user input
safe to insert..

thanks...

-dave
 http://www.student.net/

--------------------------------------------------------------------------
To remove yourself from the Mini SQL mailing list send a message containing
"unsubscribe" to "unsubscribe" to msql-list-request@bunyip.com. Send a message containing
"info msql-list" to majordomo@bunyip.com for info on monthly archives of
the list. For more help, mail owner-msql-list@bunyip.com NOT the msql-list!