/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1985-2012 AT&T Intellectual Property *
* and is licensed under the *
* Eclipse Public License, Version 1.0 *
* by AT&T Intellectual Property *
* *
* A copy of the License is available at *
* (with md5 checksum b35adb5213ca9657e911e9befb180842) *
* *
* Information and Software Systems Research *
* AT&T Research *
* Florham Park NJ *
* *
* Glenn Fowler <gsf@research.att.com> *
* David Korn <dgk@research.att.com> *
* Phong Vo <kpv@research.att.com> *
* *
***********************************************************************/
#include "sfhdr.h"
/* Print data with a given format
**
** Written by Kiem-Phong Vo.
*/
#if __STD_C
#else
#endif
{
#if __STD_C
#else
#endif
return rv;
}
#if __STD_C
#else
char* s;
size_t n;
char* form;
#endif
{
Sfio_t *f;
/* make a temp stream */
_Sfnotify = 0;
if(!f)
return -1;
return -1;
if(s && n > 0)
{ if((rv+1) >= n)
n--;
else
n = rv;
s[n] = 0;
}
sfclose(f);
return rv;
}
#if __STD_C
#else
#endif
{
#if __STD_C
#else
reg char* s;
#endif
return rv;
}