/* $NetBSD: vwprintf.c,v 1.3 2013/04/19 15:22:25 joerg Exp $ */ /*- * Copyright (c) 2002 Tim J. Robbins * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ #include #if defined(LIBC_SCCS) && !defined(lint) #if 0 __FBSDID("$FreeBSD: src/lib/libc/stdio/vwprintf.c,v 1.1 2002/09/21 13:00:30 tjr Exp $"); #else __RCSID("$NetBSD: vwprintf.c,v 1.3 2013/04/19 15:22:25 joerg Exp $"); #endif #endif /* LIBC_SCCS and not lint */ #include "namespace.h" #include #include #include __weak_alias(vwprintf_l, _vwprintf_l) int vwprintf_l(locale_t loc, const wchar_t * __restrict fmt, va_list ap) { return vfwprintf_l(stdout, loc, fmt, ap); } int vwprintf(const wchar_t * __restrict fmt, va_list ap) { return vfwprintf(stdout, fmt, ap); } e='10' name='q' value=''/>
AgeCommit message (Expand)Author
2018-02-20Mark in string.h: memccpy(3) and strdup(3) as _POSIX_C_SOURCE >= 2001kamil
2016-10-12add strchrnullchristos
2016-03-10strndup() is part of XSI from The Open Group Base Specification Issue 7 and hadleot
2014-09-24add strnstr from FreeBSDchristos
2013-08-28Publish explicit_memset and consttime_memequal in userland libc.riastradh
2013-08-28Make explicit_memset match memset's return value.riastradh
2013-08-27Remove outdated comment.joerg
2013-08-19Add strerror_l.joerg
2013-06-24Replace consttime_bcmp/explicit_bzero by consttime_memequal/explicit_memset.riastradh
2013-04-21__BEGIN_DECLS/__END_DECLSjoerg
2013-04-19Add dummy strcoll_l and strxfrm_l.joerg
2012-08-30Add "consttime_bcmp" and "explicit_bzero" functions for both kerneldrochner
2012-04-20Do not wrap other header files with extern "C".joerg
2009-07-22Declare strsignal(3) in <string.h>, per POSIX-2008, and adjustkleink
2009-05-01note that we have strsignal but it is in the wrong include file.perry
2009-05-01Add prototypes for stpcpy, stpncpy, strnlen, added in the latest POSIX.perry
2009-04-10add memrchrchristos
2007-10-19kill _NETBSD_TOOLS.christos
2007-10-18Introduce _NETBSD_TOOLS for symbols the are needed in tools buildchristos
2007-08-02Do not include SSP files unless _FORTIFY_SOURCE > 0.kristerw
2007-05-30Match usage of FORTIFY_SOURCE on other platforms by not requiring specialtls
2006-08-12Add stresep and strndup.christos
2005-07-28Add strerror_r.christos
2005-03-13Add prototype for memmem(3). It is API compatible with the version in Linux.perry
2005-02-03de-__P -- the hack is long since useless. Discussed with christos,perry
2004-07-12Move the strcasestr() prototype to the local extensions section.kleink
2004-07-03Add strcasestr(3), case insensitive version of strstr(3).junyoung
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-04-28Add a new feature-test macro, _NETBSD_SOURCE. If this is definedbjh21
2001-03-22Sprinkle some restrict qualifiers.kleink
2000-01-10Move <null.h> to <sys/null.h> for the purpose of avoiding conflicts due tokleink
1999-12-22For the benefit of G++'s null pointer constant implementation, #define NULLkleink
1999-09-09strlcat() and strlcpy() aren't ISO/IEC 9899:1990.kleink
1999-09-08prototypes for strlcat() and strlcpy()lukem
1998-07-27Make many of the new consts dependent on a new `__AUDIT__' flag, to avoidmycroft
1998-07-26KNF nit.mycroft
1998-07-26const poisoning.mycroft
1998-05-06Make strtok_r() available to _XOPEN_SOURCE >= 500, and fix the protection ofkleink
1998-04-27Move the #include <strings.h> line inside a !defined(_XOPEN_SOURCE) blocktv
1998-02-03restore include of sys/featuretest.hperry
1998-02-02remove sys/featuretest.h -- why did kleink add it?perry
1998-02-02merge lite-2perry
1998-02-02Per XPG4.2, move the prototypes of bcmp(), bcopy(), bzero(), ffs(), index(),kleink
1998-01-12Per XPG4, move the prototype of swab() from <string.h> to <unistd.h>.kleink
1997-10-16move setmode and strsignal to unistd.hchristos
1997-07-13Add missing strtok_r prototypechristos