8322 nl: misleading-indentation
[unleashed/tickless.git] / usr / src / lib / libbc / inc / include / sys / filio.h
blob4e87bf249445abd6734530431de3b4d50a9d16eb
1 /*
2 * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
3 * Use is subject to license terms.
4 */
6 /*
7 * Copyright (c) 1982, 1986 Regents of the University of California.
8 * All rights reserved. The Berkeley software License Agreement
9 * specifies the terms and conditions for redistribution.
12 #ifndef _sys_filio_h
13 #define _sys_filio_h
15 #pragma ident "%Z%%M% %I% %E% SMI"
18 * General file ioctl definitions.
21 #include <sys/ioccom.h>
23 #define FIOCLEX _IO('f', 1) /* set exclusive use on fd */
24 #define FIONCLEX _IO('f', 2) /* remove exclusive use */
25 /* another local */
26 #define FIONREAD _IOR('f', 127, int) /* get # bytes to read */
27 #define FIONBIO _IOW('f', 126, int) /* set/clear non-blocking i/o */
28 #define FIOASYNC _IOW('f', 125, int) /* set/clear async i/o */
29 #define FIOSETOWN _IOW('f', 124, int) /* set owner */
30 #define FIOGETOWN _IOR('f', 123, int) /* get owner */
32 #endif /* !_sys_filio_h */