stdtypes.h 584 B

12345678910111213141516171819202122232425
  1. /* $Id$ */
  2. /* This include file exists so that <sys/types.h> can still safely be
  3. included. On a SUN, this would cause problems because sometimes time_t
  4. and/or size_t were defined twice.
  5. */
  6. #ifndef __STDTYPES_H__
  7. #define __STDTYPES_H__
  8. typedef long sigset_t; /* for <signal.h> on SUN's */
  9. #ifndef __STDC__
  10. typedef long time_t;
  11. typedef long size_t;
  12. typedef long clock_t;
  13. #endif
  14. typedef int pid_t;
  15. typedef unsigned short gid_t;
  16. typedef unsigned short uid_t;
  17. typedef unsigned int speed_t;
  18. typedef unsigned long tcflag_t;
  19. typedef unsigned char cc_t;
  20. #endif /* __STDTYPES_H__ */