History log of /netbsd-src/lib/libc/stdio/vasprintf.c (Results 1 – 17 of 17)
Revision Date Author Comments
# eb9ea332 19-May-2013 christos <christos@NetBSD.org>

don't cast malloc


# e0ac190e 17-May-2013 joerg <joerg@NetBSD.org>

Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions.
Merge constant data used by the initial global locale a

Provide explicit LC_C_LOCALE accessor and drop the various NULL checks.
Provide LC_GLOBAL_LOCALE in a way that works with all locale functions.
Merge constant data used by the initial global locale and the C locale.
Drop function call layer for _current_locale() and directly return the
locale reference, not a pointer to it. Use protected access for global
variables, so that libc references can avoid the GOT overhead.

show more ...


# 2561b634 19-Apr-2013 joerg <joerg@NetBSD.org>

Add explicit locale versions for the printf family. Replace asprintf,
snprintf and sprintf with simple wrappers around the corresponding
va_list functions to reduce code duplication.


# 526d9427 15-Mar-2012 christos <christos@NetBSD.org>

- ansify, knf.
- no functional changes


# 3eb244d8 17-Jul-2011 joerg <joerg@NetBSD.org>

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce a

Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.

show more ...


# cfbb35ed 25-Oct-2009 christos <christos@NetBSD.org>

revert some of dsl's changes to make things build on i386; he can undo what
he wants when he comes back.


# 0b807be8 24-Oct-2009 dsl <dsl@NetBSD.org>

Remove a load of pointless casts - one that even lint doesn't bleat about.


# fd5cb0ac 09-Feb-2005 kleink <kleink@NetBSD.org>

A little libc namespace housekeeping exercise:
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
fstatvf

A little libc namespace housekeeping exercise:
* Make vfprintf_unlocked() an internal function, c.f. __svfscanf_unlocked().
* Add internal names for arc4random(), endnetpath(), fhstatvfs(),
fstatvfs(), mkstemp(), shquote(), statvfs(), taddr2uaddr(), uaddr2taddr(),
uuid_create_nil(), uuid_is_nil(), and wcwidth().
* Include namespace.h where supposed to.

show more ...


# 3fdac2b8 18-Jan-2003 thorpej <thorpej@NetBSD.org>

Merge the nathanw_sa branch.


# 17f3654a 07-Dec-2001 yamt <yamt@NetBSD.org>

- make FILE structure extensible without breaking binary-compatibility.
- add fputwc, fgetwc, fwide and related functions.
- add hooks needed to maintain the orientation of file stream.


# 442e96d2 21-Jan-2000 mycroft <mycroft@NetBSD.org>

Initialize f._file for locking primitives.


# d8962612 20-Sep-1999 lukem <lukem@NetBSD.org>

back out the #ifdef _DIAGNOSTIC argument checks; too many people complained.
_DIAGASSERT() is still retained.


# b48252f3 16-Sep-1999 lukem <lukem@NetBSD.org>

* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attemp

* use _DIAGASSERT() to check pointer arguments against NULL and file
descriptors against -1 (as appropriate).
* add actual checks which to detect stuff that would trigger_DIAGASSERT(),
and attempt to return a sane error condition.
* knf some code
* remove some `register' decls.

the first two items result in the addition of code similar to the
following in various functions:

_DIAGASSERT(path != NULL)
#ifdef _DIAGNOSTIC
if (path == NULL) {
errno = EFAULT;
return (-1);
}
#endif

show more ...


# e7f7fdba 15-Nov-1998 christos <christos@NetBSD.org>

delint


# ef3079f0 15-Oct-1998 mycroft <mycroft@NetBSD.org>

Make sure we free the buffer in all error cases.
Do the final realloc(3) to the size of the string, not the size of the buffer
allocated for the string (which is a noop).


# 83d4043d 08-Sep-1998 kleink <kleink@NetBSD.org>

s/NULL/NUL/ where appropriate.


# 253ef37d 28-Aug-1998 perry <perry@NetBSD.org>

add asprintf and vasprintf, originally written by Todd Miller for OpenBSD