YoushouldhavereceivedcopiesoftheGNUGeneralPublicLicenseandthe GNULesserGeneralPublicLicensealongwiththeGNUMPLibrary.Ifnot,
see https://www.gnu.org/licenses/. */
#include <stdarg.h>
#include <string.h>
#include"gmp-impl.h"
int
gmp_vsscanf (constchar *s, constchar *fmt, va_list ap)
{ #if SSCANF_WRITABLE_INPUT /* We only actually need this if there's standard C types in fmt, and if "s"isnotalreadywritable,butit'stoomuchtroubletocheckthat, andinanycasethiswritablesscanfinputbusinessisonlyforafew
old systems. */
size_t size; char *alloc; int ret;
size = strlen (s) + 1;
alloc = __GMP_ALLOCATE_FUNC_TYPE (size, char);
memcpy (alloc, s, size);
s = alloc;
ret = __gmp_doscan (&__gmp_sscanf_funs, (void *) &s, fmt, ap);
(*__gmp_free_func) (alloc, size); return ret;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.