/***********************************************************************
* *
* This software is part of the ast package *
* Copyright (c) 1996-2011 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 *
* *
* Phong Vo <kpv@research.att.com> *
* Glenn Fowler <gsf@research.att.com> *
* *
***********************************************************************/
#include "rshdr.h"
/*
* create temp stream ready for write
*/
#if __STD_C
#else
#endif
{
if (!sp)
{
#if _PACKAGE_ast
int fd;
return 0;
return 0;
#else
return 0;
#endif
}
else
{
if (!op)
sp = 0;
}
return sp;
}
/*
* rewind temp stream and prepare for read
*/
#if __STD_C
#else
#endif
{
int n;
return -1;
{
return -1;
if (n)
return 0;
}
}
/*
* close temp stream
*/
#if __STD_C
#else
#endif
{
int n;
{
return -1;
if (n)
return 0;
}
}