/*
Copyright (c) 1993 Xerox Corporation.  All rights reserved.
*/
/*
*/

#ifndef ←←XR←stropts←h
#define ←←XR←stropts←h

#include <config/PCR←OS.h>

#include <stropts.h>

/*
 * This one is heavy, but reading of SunOS4.1.3 and 5.2 headers
 * suggests they agree on everything but the I←XXXX definitions,
 * and those are pretty easy ...
 */

#define XR←stropts←IOCtlCmdP(cmd) (((cmd) & 0xff00) == ('S'<<8))

#if defined(PCR←OS←SUNOS4)

#   define XR←stropts←IOCtlCmdToHost(cmd) (cmd)

#elif defined(PCR←OS←SUNOS5)

#   define XR←stropts←IOCtlCmdToHost(cmd) (('S'<<8)|((cmd) & 0xff))

#else
#   error os ?
#endif

#endif /*!←←XR←stropts←h*/