home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 15 / 15.iso / s / s053 / 8.ddi / usr / include / sys / kb.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-08  |  608 b   |  22 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. #ident    "@(#)/usr/include/sys/kb.h.sl 1.1 4.0 12/08/90 21947 AT&T-USL"
  11.  
  12. #ifndef    _SYS_KB_H
  13. #define    _SYS_KB_H
  14.  
  15. #define SEND2KBD(port, byte) { \
  16.     while (inb(KB_STAT) & KB_INBF) \
  17.         ; \
  18.     outb(port, byte); \
  19. }
  20.  
  21. #endif /* _SYS_KB_H */
  22.