view src/lib/printf-format-fix.h @ 5679:74e06273985b HEAD

Renamed printf_string_fix_format() to printf_format_fix() and moved it to its own file.
author Timo Sirainen <tss@iki.fi>
date Mon, 11 Jun 2007 01:25:04 +0300
parents
children 09415e6a0892
line wrap: on
line source

#ifndef __PRINTF_FORMAT_FIX_H
#define __PRINTF_FORMAT_FIX_H

/* Replaces %m in format with strerror(errno) and panics if %n modifier is
   used. Returns TRUE if format was modified. */
bool printf_format_fix(const char **format);

#endif