~ubuntu-branches/ubuntu/lucid/tar/lucid-proposed

« back to all changes in this revision

Viewing changes to lib/vsnprintf.c

  • Committer: Bazaar Package Importer
  • Author(s): Bdale Garbee
  • Date: 2008-04-16 19:24:39 UTC
  • mfrom: (1.1.9 upstream) (12.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080416192439-wzydmi2mbbwzz7vb
Tags: 1.20-1
new upstream version

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* -*- buffer-read-only: t -*- vi: set ro: */
 
2
/* DO NOT EDIT! GENERATED AUTOMATICALLY! */
1
3
/* Formatted output to strings.
2
 
   Copyright (C) 2004, 2006-2007 Free Software Foundation, Inc.
 
4
   Copyright (C) 2004, 2006-2008 Free Software Foundation, Inc.
3
5
   Written by Simon Josefsson and Yoann Vandoorselaere <yoann@prelude-ids.org>.
4
6
 
5
7
   This program is free software; you can redistribute it and/or modify
6
8
   it under the terms of the GNU General Public License as published by
7
 
   the Free Software Foundation; either version 2, or (at your option)
 
9
   the Free Software Foundation; either version 3, or (at your option)
8
10
   any later version.
9
11
 
10
12
   This program is distributed in the hope that it will be useful,
31
33
 
32
34
#include "vasnprintf.h"
33
35
 
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
36
/* Print formatted output to string STR.  Similar to vsprintf, but
40
37
   additional length SIZE limit how much is written into STR.  Returns
41
38
   string length of formatted string (which may be larger than SIZE).