home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / unix / unixlib_1 / !UnixLib37_netlib_clib_sys_h_ioctl < prev    next >
Encoding:
Text File  |  1996-11-06  |  958 b   |  44 lines

  1. /****************************************************************************
  2.  *
  3.  * $Source: /unixb/home/unixlib/source/unixlib37/clib/sys/h/RCS/ioctl,v $
  4.  * $Date: 1996/11/06 22:01:41 $
  5.  * $Revision: 1.1 $
  6.  * $State: Exp $
  7.  * $Author: unixlib $
  8.  *
  9.  * $Log: ioctl,v $
  10.  * Revision 1.1  1996/11/06 22:01:41  unixlib
  11.  * Initial revision
  12.  *
  13.  ***************************************************************************/
  14.  
  15. #ifndef __SYS_IOCTL_H
  16. #define __SYS_IOCTL_H
  17.  
  18. #include <sys/filio.h>
  19. #include <sys/sockio.h>
  20.  
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24.  
  25. /*
  26.  * Union for generic ioctl() argument handling
  27.  */
  28. union ioctl_arg {
  29.   char *cparg;          /* Pointer to character */
  30.   char carg;            /* Character */
  31.   int  *iparg;          /* Pointer to integer */
  32.   int  iarg;            /* Integer */
  33.   long *lparg;          /* Pointer to long */
  34.   long larg;            /* Long */
  35. };
  36.  
  37. extern int ioctl(int, int, void *);
  38.  
  39. #ifdef __cplusplus
  40.     }
  41. #endif
  42.  
  43. #endif
  44.