/* Formatted output to strings.
- Copyright (C) 2004, 2006 Free Software Foundation, Inc.
+ Copyright (C) 2004, 2006-2007 Free Software Foundation, Inc.
Written by Simon Josefsson and Paul Eggert.
This program is free software; you can redistribute it and/or modify
#include <config.h>
-#include "snprintf.h"
+/* Specification. */
+#include <stdio.h>
#include <errno.h>
#include <limits.h>
additional length SIZE limit how much is written into STR. Returns
string length of formatted string (which may be larger than SIZE).
STR may be NULL, in which case nothing will be written. On error,
- return a negative value. */
+ return a negative value. */
int
snprintf (char *str, size_t size, const char *format, ...)
{