home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 9.ddi / usr / include / sys / tape.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  2.3 KB  |  55 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_TAPE_H
  11. #define _SYS_TAPE_H
  12.  
  13. /*    Copyright (c) 1986, 1987  Intel Corporation    */
  14. /*    All Rights Reserved    */
  15.  
  16. #ident    "@(#)/usr/include/sys/tape.h.sl 1.1 4.0 12/08/90 36924 AT&T-USL"
  17.  
  18. /* 
  19.  * Standard tape ioctl commands  
  20.  */
  21.  
  22. #define T_BASE        ('t' << 8)
  23. #define T_RETENSION    (T_BASE | 001)     /* Retension Tape         */
  24. #define T_RWD        (T_BASE | 002)    /* Rewind Tape             */
  25. #define T_ERASE        (T_BASE | 003)    /* Erase Tape             */
  26. #define T_WRFILEM    (T_BASE | 004)    /* Write Filemarks        */
  27. #define T_RST        (T_BASE | 005)    /* Reset Tape Drive         */
  28. #define T_RDSTAT    (T_BASE | 006)    /* Read Tape Drive Status     */
  29. #define T_SFF        (T_BASE | 007)    /* Space Filemarks Forward     */
  30. #define T_SBF        (T_BASE | 010)    /* Space Blocks Forward        */
  31. #define T_LOAD        (T_BASE | 011)    /* Load Tape             */
  32. #define T_UNLOAD    (T_BASE | 012)    /* Unload Tape             */
  33. /* The two following ioctls are for Kennedy drives which are now not supported */
  34. #define T_SFREC        (T_BASE | 013)    /* Seek Forward a Record     */
  35. #define T_SBREC     (T_BASE | 014)    /* Seek Backward a Record     */
  36. /* The following ioctl is for older controllers which are now not supported */
  37. #define T_TINIT     (T_BASE | 015)    /* Initialize Tape Interface     */
  38.  
  39. /*    Additional tape ioctls        */
  40.  
  41. #define    T_RDBLKLEN    (T_BASE | 016)    /* Read Block Size        */
  42. #define    T_WRBLKLEN    (T_BASE | 017)    /* Set Block Size        */
  43. #define    T_PREVMV    (T_BASE | 020)    /* Prevent Media Removal    */
  44. #define    T_ALLOMV    (T_BASE | 021)    /* Allow Media Removal        */
  45. #define T_SBB        (T_BASE | 022)    /* Space Blocks Backwards     */
  46. #define T_SFB        (T_BASE | 023)    /* Space Filemarks Backwards     */
  47. #define T_EOD        (T_BASE | 024)    /* Space to End Of Data        */
  48. #define T_SSFB        (T_BASE | 025)    /* Space Sequential Filemarks Backwards */
  49. #define T_SSFF        (T_BASE | 026)    /* Space Sequential Filemarks Forward    */
  50. #define T_STS        (T_BASE | 027)    /* Set Tape Speed (1600/6250 bpi etc.)    */
  51. #define T_STD        (T_BASE | 030)    /* Set Tape Density (QIC-120/150 etc.)    */
  52.  
  53. #endif    /* _SYS_TAPE_H */
  54.  
  55.