/***********************************************************************1* *2* This software is part of the ast package *3* Copyright (c) 1999-2011 AT&T Intellectual Property *4* and is licensed under the *5* Eclipse Public License, Version 1.0 *6* by AT&T Intellectual Property *7* *8* A copy of the License is available at *9* http://www.eclipse.org/org/documents/epl-v10.html *10* (with md5 checksum b35adb5213ca9657e911e9befb180842) *11* *12* Information and Software Systems Research *13* AT&T Research *14* Florham Park NJ *15* *16* Glenn Fowler <[email protected]> *17* *18***********************************************************************/19#include "FEATURE/sfio"2021#if !_PACKAGE_ast22#ifdef __STDC__23#include <stdarg.h>24#else25#include <varargs.h>26#endif27#endif2829#if _SFIO_H_ONLY30#include <sfio.h>31#else32#include <sfio_t.h>33#endif3435#if _PACKAGE_ast36#include <ast.h>37#endif3839#if _hdr_unistd40#include <unistd.h>41#endif4243#include <errno.h>4445#include "terror.h"4647#ifndef EINTR48#define EINTR 449#endif50#ifndef EBADF51#define EBADF 952#endif53#ifndef EAGAIN54#define EAGAIN 1155#endif56#ifndef ENOMEM57#define ENOMEM 1258#endif59#ifndef ESPIPE60#define ESPIPE 2961#endif6263#if _hdr_math64#include <math.h>65#endif6667#if _hdr_float68#include <float.h>69#endif707172