ioccom.h revision 5d54f3d8999eac1762fe0a8c7177d20f1f201fae
/*
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
/*
* Copyright (c) 1982, 1986 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*/
#ifndef __sys_ioccom_h
#define __sys_ioccom_h
#pragma ident "%Z%%M% %I% %E% SMI"
/*
* Ioctl's have the command encoded in the lower word,
* and the size of any in or out parameters in the upper
* word. The high 2 bits of the upper word are used
* we restrict parameters to at most 255 bytes.
*/
/* the 0x20000000 is so we can distinguish new ioctl's from old */
/* this should be _IORW, but stdio got there first */
/*
* Registry of ioctl characters, culled from system sources
*
* char file where defined notes
* ---- ------------------ -----
* g sunwindow/win_ioctl.h -no overlap-
* g sunwindowdev/winioctl.c !no manifest constant! -no overlap-
* h sundev/hrc_common.h
* v sundev/vuid_event.h *overlap*
*
* End of Registry
*/
#endif /* !__sys_ioccom_h */