X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fquotearg.h;h=63c47f13cc72ff65b25e3e5c421c825ab680f1a4;hb=657fb89d3276465fcf756392f10aa268ca451136;hp=e9f6f56a343de93c43be507795364505a12b9d97;hpb=12247f770487cd389e515a51d6bfeb250f26e519;p=gnulib.git diff --git a/lib/quotearg.h b/lib/quotearg.h index e9f6f56a3..63c47f13c 100644 --- a/lib/quotearg.h +++ b/lib/quotearg.h @@ -255,7 +255,9 @@ void set_quoting_style (struct quoting_options *o, enum quoting_style s); set the value of the quoting options for character C to I. Return the old value. Currently, the only values defined for I are 0 (the default) and 1 (which means to quote the character even if - it would not otherwise be quoted). */ + it would not otherwise be quoted). C must never be a digit or a + letter that has special meaning after a backslash (for example, "\t" + for tab). */ int set_char_quoting (struct quoting_options *o, char c, int i); /* In O (or in the default if O is null), @@ -345,7 +347,8 @@ char *quotearg_style (enum quoting_style s, char const *arg); char *quotearg_style_mem (enum quoting_style s, char const *arg, size_t argsize); -/* Like quotearg (ARG), except also quote any instances of CH. */ +/* Like quotearg (ARG), except also quote any instances of CH. + See set_char_quoting for a description of acceptable CH values. */ char *quotearg_char (char const *arg, char ch); /* Like quotearg_char (ARG, CH), except it can quote null bytes. */