summaryrefslogtreecommitdiffstats
path: root/gl/vsnprintf.c
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2009-01-15 09:22:57 (GMT)
committerThomas Guyot-Sionnest <dermoth@aei.ca>2009-01-15 10:19:08 (GMT)
commit71cdb52799220f8d9052643baf1d3e9836a9c755 (patch)
tree27aee97a35d9ab51f0d8f64a46690bd41a5f8c1b /gl/vsnprintf.c
parentf7afa46586645e50498d8b2d0c67884f014dc3a4 (diff)
downloadmonitoring-plugins-71cdb52799220f8d9052643baf1d3e9836a9c755.tar.gz
Sync with gnulib
Diffstat (limited to 'gl/vsnprintf.c')
-rw-r--r--gl/vsnprintf.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gl/vsnprintf.c b/gl/vsnprintf.c
index cc8f61f..02af252 100644
--- a/gl/vsnprintf.c
+++ b/gl/vsnprintf.c
@@ -1,5 +1,5 @@
1/* Formatted output to strings. 1/* Formatted output to strings.
2 Copyright (C) 2004, 2006-2007 Free Software Foundation, Inc. 2 Copyright (C) 2004, 2006-2008 Free Software Foundation, Inc.
3 Written by Simon Josefsson and Yoann Vandoorselaere <yoann@prelude-ids.org>. 3 Written by Simon Josefsson and Yoann Vandoorselaere <yoann@prelude-ids.org>.
4 4
5 This program is free software; you can redistribute it and/or modify 5 This program is free software; you can redistribute it and/or modify
@@ -31,11 +31,6 @@
31 31
32#include "vasnprintf.h" 32#include "vasnprintf.h"
33 33
34/* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */
35#ifndef EOVERFLOW
36# define EOVERFLOW E2BIG
37#endif
38
39/* Print formatted output to string STR. Similar to vsprintf, but 34/* Print formatted output to string STR. Similar to vsprintf, but
40 additional length SIZE limit how much is written into STR. Returns 35 additional length SIZE limit how much is written into STR. Returns
41 string length of formatted string (which may be larger than SIZE). 36 string length of formatted string (which may be larger than SIZE).