da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin/***********************************************************************
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* This software is part of the ast package *
3e14f97f673e8a630f076077de35afdd43dc1587Roger A. Faulkner* Copyright (c) 1985-2010 AT&T Intellectual Property *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* and is licensed under the *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* Common Public License, Version 1.0 *
7c2fbfb345896881c631598ee3852ce9ce33fb07April Chin* by AT&T Intellectual Property *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* A copy of the License is available at *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* (with md5 checksum 059e8cd6165cb4c31e351f2b69388fd9) *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* Information and Software Systems Research *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* AT&T Research *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* Florham Park NJ *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* Glenn Fowler <gsf@research.att.com> *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* David Korn <dgk@research.att.com> *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin* Phong Vo <kpv@research.att.com> *
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin***********************************************************************/
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin/* Construct a string with the given format and data.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin** These functions allocate space as necessary to store the string.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin** This avoids overflow problems typical with sprintf() in stdio.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin** Written by Kiem-Phong Vo.
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin /* make a fake stream */
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin !(f = sfnew(NIL(Sfio_t*),NIL(char*),(size_t)SF_UNBOUND,
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin return NIL(char*);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin return NIL(char*);
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin return (char*)f->data;
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chinssize_t sfvaprints(char** sp, const char* form, va_list args)
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin return -1;
da2e3ebdc1edfbc5028edf1354e7dd2fa69a7968chin return -1;
34f9b3eef6fdadbda0a846aa4d68691ac40eace5Roland Mainz return n - 1;