summaryrefslogtreecommitdiffstats
path: root/gl/snprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'gl/snprintf.c')
-rw-r--r--gl/snprintf.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gl/snprintf.c b/gl/snprintf.c
index 960cfdb4..dafbda81 100644
--- a/gl/snprintf.c
+++ b/gl/snprintf.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 Paul Eggert. 3 Written by Simon Josefsson and Paul Eggert.
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
@@ -29,11 +29,6 @@
29 29
30#include "vasnprintf.h" 30#include "vasnprintf.h"
31 31
32/* Some systems, like OSF/1 4.0 and Woe32, don't have EOVERFLOW. */
33#ifndef EOVERFLOW
34# define EOVERFLOW E2BIG
35#endif
36
37/* Print formatted output to string STR. Similar to sprintf, but 32/* Print formatted output to string STR. Similar to sprintf, but
38 additional length SIZE limit how much is written into STR. Returns 33 additional length SIZE limit how much is written into STR. Returns
39 string length of formatted string (which may be larger than SIZE). 34 string length of formatted string (which may be larger than SIZE).