view src/lib/printf-upper-bound.h @ 903:fd8888f6f037 HEAD

Naming style changes, finally got tired of most of the typedefs. Also the previous enum -> macro change reverted so that we don't use the highest bit anymore, that's incompatible with old indexes so they will be rebuilt.
author Timo Sirainen <tss@iki.fi>
date Sun, 05 Jan 2003 15:09:51 +0200
parents 34cb1d196d2b
children 32bfcbe2a006
line wrap: on
line source

#ifndef __PRINTF_UPPER_BOUND_H
#define __PRINTF_UPPER_BOUND_H

/* Returns the maximum length of given format string when expanded.
   If the format is invalid, i_fatal() is called. */
size_t printf_string_upper_bound(const char *format, va_list args);

#endif