Coherent4.2.10/include/sys/open.h

/* (-lgl
 *	Coherent 386 release 4.2
 *	Copyright (c) 1982, 1993 by Mark Williams Company.
 *	All rights reserved. May not be copied without permission.
 *	For copying permission and licensing info, write licensing@mwc.com
 -lgl) */

#ifndef	__SYS_OPEN_H__
#define	__SYS_OPEN_H__

/*
 * This file contains constants and definitions used by the System V DDI/DKI.
 *
 * Note that the information defined here has been compiled from published
 * information, so it is likely to be incomplete. Futhermore, the exact binary
 * values of the constants are not defined in any currently published
 * documentation, so we have assigned values that will almost certainly not
 * match the System V definitions.
 */

/*
 * A value indicating the type of open (or close) being performed on a device
 * driver under the DDI/DKI.
 */

enum {
	OTYP_BLK,		/* open through the block interface */
	OTYP_CHR,		/* open through the character interface */
	OTYP_LYR		/* layered open; opened by another driver */
};

#endif	/* ! defined (__SYS_OPEN_H__) */