/*
 * UIO.h -- stubbed out PCR version
 */

#ifndef UIO←H
#define UIO←H

#include "UIOBasic.h"

/*
 *
 * Unix-like descriptor I/O
 *
 */

#ifdef ←←STDC←←
#   define ADD←XR(pcrName)  XR← ## pcrName
#else
#   define ADD←XR(pcrName)  XR←/**/pcrName
#endif

# define XR←SYSCALL0(pcrName, uxname) extern int ADD←XR(pcrName) ();
# define XR←SYSCALL1(pcrName, uxname) extern int ADD←XR(pcrName) ();
# define XR←SYSCALL2(pcrName, uxname) extern int ADD←XR(pcrName) ();
# define XR←SYSCALL3(pcrName, uxname) extern int ADD←XR(pcrName) ();
# define XR←SYSCALL4(pcrName, uxname) extern int ADD←XR(pcrName) ();
# define XR←SYSCALL5(pcrName, uxname) extern int ADD←XR(pcrName) ();
# define XR←SYSCALL6(pcrName, uxname) extern int ADD←XR(pcrName) ();

/* Nonstandard calls */
XR←SYSCALL4(Open4, xxx)
XR←SYSCALL4(Fcntl4, xxx)
XR←SYSCALL4(Ioctl4, xxx)
XR←SYSCALL1(GetDescriptorKind, xxx)

/* Standard calls with nonstandard implementations */
XR←SYSCALL3(Open, open)
XR←SYSCALL3(Write, write)
XR←SYSCALL3(WriteV, writev)
XR←SYSCALL3(Read, read)
XR←SYSCALL3(ReadV, readv)


# include "xr/UnixSysCallTranslation.h"



#endif ←P←UIO←H