home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume25 / tcl / part01 / tcl6.1 / compat / testwait.c < prev   
Encoding:
C/C++ Source or Header  |  1991-11-14  |  946 b   |  32 lines

  1. /* 
  2.  * testwait.c --
  3.  *
  4.  *    This file contains a simple program that will compile
  5.  *    correctly if and only if <sys/wait.h> defines the
  6.  *    type "union wait".  It is used during configuration
  7.  *    to determine whether or not to use this type.
  8.  *
  9.  * Copyright 1991 Regents of the University of California
  10.  * Permission to use, copy, modify, and distribute this
  11.  * software and its documentation for any purpose and without
  12.  * fee is hereby granted, provided that this copyright
  13.  * notice appears in all copies.  The University of California
  14.  * makes no representations about the suitability of this
  15.  * software for any purpose.  It is provided "as is" without
  16.  * express or implied warranty.
  17.  */
  18.  
  19. #ifndef lint
  20. static char rcsid[] = "$Header: /user6/ouster/tcl/compat/RCS/testwait.c,v 1.1 91/11/07 10:26:56 ouster Exp $ SPRITE (Berkeley)";
  21. #endif /* not lint */
  22.  
  23. #include <sys/types.h>
  24. #include <sys/wait.h>
  25.  
  26. union wait x;
  27.  
  28. int main()
  29. {
  30.     return 0;
  31. }
  32.