summaryrefslogtreecommitdiff
path: root/lib/libc/stdio/vasprintf.c
AgeCommit message (Collapse)Author
1998-10-16Make sure we free the buffer in all error cases. Do the finalTodd C. Miller
realloc(3) to the size of the string, not the size of the buffer allocated for the string (which is a noop). mycroft@netbsd.org
1998-08-14realloc repairTheo de Raadt
1998-06-21Remove the advertising clause in my old license, it impedes free useTodd C. Miller
of the code as a large number of similar clauses makes it impossible to write an ad for a product using the code...
1998-02-07Cast pointer in assignmentThorsten Lockert
1998-01-12Based on some FreeBSD changes:Todd C. Miller
For *s*printf, set f._file to -1 like the comments in stdio.h say. Use '\0', not 0, where appropriate. Don't error out on size of '0' for v?snprintf().
1997-11-29Implement asprintf(3) and vasprintf(3) functions similar to theTodd C. Miller
ones in the glibc. Some man pages changes from FreeBSD (asprintf.c/vasprintf.c are not based on GNU or FreeBSD code).