diff options
author | Eric Blake <ebb9@byu.net> | 2006-06-28 14:00:22 +0000 |
---|---|---|
committer | Eric Blake <ebb9@byu.net> | 2006-06-28 14:00:22 +0000 |
commit | 9f85c9185524b3117898bcec9794e1891a588546 (patch) | |
tree | 20ca1ac16dd7687b863213928cb50453e4444a09 /lib/xvasprintf.h | |
parent | e0edd5715c35d04d79ab75d3e4df28244c355444 (diff) | |
download | gnulib-9f85c9185524b3117898bcec9794e1891a588546.tar.gz |
* xvasprintf.h: Fix comments.
Diffstat (limited to 'lib/xvasprintf.h')
-rw-r--r-- | lib/xvasprintf.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lib/xvasprintf.h b/lib/xvasprintf.h index 91cf54ec19..8777f1374a 100644 --- a/lib/xvasprintf.h +++ b/lib/xvasprintf.h @@ -1,5 +1,5 @@ /* vasprintf and asprintf with out-of-memory checking. - Copyright (C) 2002-2004 Free Software Foundation, Inc. + Copyright (C) 2002-2004, 2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -39,9 +39,7 @@ extern "C" { #endif /* Write formatted output to a string dynamically allocated with malloc(). - If the memory allocation succeeds, store the address of the string in - *RESULT and return the number of resulting bytes, excluding the trailing - NUL. Upon [ENOMEM] memory allocation error, call xalloc_die. + Upon [ENOMEM] memory allocation error, call xalloc_die. On some other error - [EOVERFLOW] resulting string length is > INT_MAX, - [EINVAL] invalid format string, |