mirror of
https://sourceware.org/git/glibc.git
synced 2026-01-06 11:51:29 +03:00
support: Add TEST_COMPARE_BLOB, support_quote_blob
The declaration of support_test_compare_blob uses unsigned long int, to avoid including <stddef.h>. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
@@ -59,6 +59,12 @@ void support_shared_free (void *);
|
||||
process on error. */
|
||||
void support_write_file_string (const char *path, const char *contents);
|
||||
|
||||
/* Quote the contents of the byte array starting at BLOB, of LENGTH
|
||||
bytes, in such a way that the result string can be included in a C
|
||||
literal (in single/double quotes, without putting the quotes into
|
||||
the result). */
|
||||
char *support_quote_blob (const void *blob, size_t length);
|
||||
|
||||
/* Error-checking wrapper functions which terminate the process on
|
||||
error. */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user