home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 4 / DATAFILE_PDCD4.iso / languages / netlib / !NetLib / sys / h / ioctl < prev    next >
Encoding:
Text File  |  1995-05-23  |  578 b   |  27 lines

  1. #ifndef __sys_ioctl_h
  2. #define __sys_ioctl_h
  3.  
  4. /* Freenet programmers library - sys/ioctl.h - 23/5/95 */
  5.  
  6. #include "Internet:sys.h.filio"
  7. #include "Internet:sys.h.sockio"
  8.  
  9. /*
  10.  * Union for generic ioctl() argument handling
  11.  */
  12. union ioctl_arg {
  13.   char *cparg;          /* Pointer to character */
  14.   char carg;            /* Character */
  15.   int  *iparg;          /* Pointer to integer */
  16.   int  iarg;            /* Integer */
  17.   long *lparg;          /* Pointer to long */
  18.   long larg;            /* Long */
  19. };
  20.  
  21. /*
  22.  * Prototype for ioctl()
  23.  */
  24. extern int ioctl(int, int, ...);
  25.  
  26. #endif
  27.