home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 8.ddi / usr / include / sys / filio.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  1.7 KB  |  54 lines

  1. /*    Copyright (c) 1990 UNIX System Laboratories, Inc.    */
  2. /*    Copyright (c) 1984, 1986, 1987, 1988, 1989, 1990 AT&T    */
  3. /*      All Rights Reserved      */
  4.  
  5. /*    THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF         */
  6. /*    UNIX System Laboratories, Inc.                         */
  7. /*    The copyright notice above does not evidence any       */
  8. /*    actual or intended publication of such source code.    */
  9.  
  10. #ifndef _SYS_FILIO_H
  11. #define _SYS_FILIO_H
  12.  
  13. #ident    "@(#)/usr/include/sys/filio.h.sl 1.1 4.0 12/08/90 14574 AT&T-USL"
  14.  
  15. /*    @(#)filio.h 1.3 88/02/08 SMI; from UCB ioctl.h 7.1 6/4/86    */
  16.  
  17. /*
  18.  *          PROPRIETARY NOTICE (Combined)
  19.  *  
  20.  *  This source code is unpublished proprietary information
  21.  *  constituting, or derived under license from AT&T's Unix(r) System V.
  22.  *  In addition, portions of such source code were derived from Berkeley
  23.  *  4.3 BSD under license from the Regents of the University of
  24.  *  California.
  25.  *  
  26.  *  
  27.  *  
  28.  *          Copyright Notice 
  29.  *  
  30.  *  Notice of copyright on this source code product does not indicate 
  31.  *  publication.
  32.  *  
  33.  *      (c) 1986,1987,1988,1989  Sun Microsystems, Inc.
  34.  *      (c) 1983,1984,1985,1986,1987,1988,1989  AT&T.
  35.  *                All rights reserved.
  36.  */
  37.  
  38. /*
  39.  * General file ioctl definitions.
  40.  */
  41.  
  42. #include <sys/ioccom.h>
  43.  
  44. #define    FIOCLEX        _IO('f', 1)        /* set exclusive use on fd */
  45. #define    FIONCLEX    _IO('f', 2)        /* remove exclusive use */
  46. /* another local */
  47. #define    FIONREAD    _IOR('f', 127, int)    /* get # bytes to read */
  48. #define    FIONBIO        _IOW('f', 126, int)    /* set/clear non-blocking i/o */
  49. #define    FIOASYNC    _IOW('f', 125, int)    /* set/clear async i/o */
  50. #define    FIOSETOWN    _IOW('f', 124, int)    /* set owner */
  51. #define    FIOGETOWN    _IOR('f', 123, int)    /* get owner */
  52.  
  53. #endif    /* _SYS_FILIO_H */
  54.