/usr/share/gettext/intl
NameSizeModeActions
bindtextdom.c95530644editdlrm
config.charset230450755editdlrm
COPYING.LIB265450644editdlrm
dcgettext.c17470644editdlrm
dcigettext.c476010644editdlrm
dcngettext.c17800644editdlrm
dgettext.c17050644editdlrm
dngettext.c18220644editdlrm
eval-plural.h27360644editdlrm
explodename.c33400644editdlrm
export.h1570644editdlrm
finddomain.c59960644editdlrm
gettext.c18190644editdlrm
gettextP.h101860644editdlrm
gmo.h48530644editdlrm
hash-string.c15490644editdlrm
hash-string.h13140644editdlrm
intl-compat.c34550644editdlrm
intl-exports.c17740644editdlrm
l10nflist.c109000644editdlrm
langprefs.c127170644editdlrm
libgnuintl.in.h167920644editdlrm
libintl.rc16220644editdlrm
loadinfo.h51120644editdlrm
loadmsgcat.c345370644editdlrm
localcharset.c205200644editdlrm
localcharset.h13400644editdlrm
locale.alias30860644editdlrm
localealias.c106390644editdlrm
localename.c861430644editdlrm
lock.c267850644editdlrm
lock.h363160644editdlrm
log.c38550644editdlrm
Makefile.in251210644editdlrm
ngettext.c19070644editdlrm
os2compat.c28370644editdlrm
os2compat.h15050644editdlrm
osdep.c9880644editdlrm
plural-exp.c38810644editdlrm
plural-exp.h46450644editdlrm
plural.c532830644editdlrm
plural.y75160644editdlrm
printf-args.c65840644editdlrm
printf-args.h39760644editdlrm
printf-parse.c221930644editdlrm
printf-parse.h25940644editdlrm
printf.c103330644editdlrm
ref-add.sin10410644editdlrm
ref-del.sin9960644editdlrm
relocatable.c175050644editdlrm
relocatable.h31440644editdlrm
setlocale.c331140644editdlrm
textdomain.c38110644editdlrm
threadlib.c19360644editdlrm
tsearch.c214830644editdlrm
tsearch.h28120644editdlrm
vasnprintf.c2233330644editdlrm
vasnprintf.h28070644editdlrm
vasnwprintf.h16840644editdlrm
verify.h110190644editdlrm
VERSION420644editdlrm
version.c9350644editdlrm
wprintf-parse.h26430644editdlrm
xsize.c780644editdlrm
xsize.h36530644editdlrm
Edit: /usr/share/gettext/intl/vasnprintf.h (2807B)
/* vsprintf with automatic memory allocation. Copyright (C) 2002-2004, 2012, 2015-2016 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this program. If not, see . */ #ifndef _VASNPRINTF_H #define _VASNPRINTF_H /* Get va_list. */ #include /* Get size_t. */ #include #ifndef __attribute__ /* This feature is available in gcc versions 2.5 and later. */ # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 5) || __STRICT_ANSI__ # define __attribute__(Spec) /* empty */ # endif /* The __-protected variants of 'format' and 'printf' attributes are accepted by gcc versions 2.6.4 (effectively 2.7) and later. */ # if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7) # define __format__ format # define __printf__ printf # endif #endif #ifdef __cplusplus extern "C" { #endif /* Write formatted output to a string dynamically allocated with malloc(). You can pass a preallocated buffer for the result in RESULTBUF and its size in *LENGTHP; otherwise you pass RESULTBUF = NULL. If successful, return the address of the string (this may be = RESULTBUF if no dynamic memory allocation was necessary) and set *LENGTHP to the number of resulting bytes, excluding the trailing NUL. Upon error, set errno and return NULL. When dynamic memory allocation occurs, the preallocated buffer is left alone (with possibly modified contents). This makes it possible to use a statically allocated or stack-allocated buffer, like this: char buf[100]; size_t len = sizeof (buf); char *output = vasnprintf (buf, &len, format, args); if (output == NULL) ... error handling ...; else { ... use the output string ...; if (output != buf) free (output); } */ extern char * asnprintf (char *resultbuf, size_t *lengthp, const char *format, ...) __attribute__ ((__format__ (__printf__, 3, 4))); extern char * vasnprintf (char *resultbuf, size_t *lengthp, const char *format, va_list args) __attribute__ ((__format__ (__printf__, 3, 0))); #ifdef __cplusplus } #endif #endif /* _VASNPRINTF_H */