home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue2 / SDL.ARC / !unixlib / source / clib / sys / h / param < prev    next >
Encoding:
Text File  |  2004-09-06  |  647 b   |  31 lines

  1. /****************************************************************************
  2.  *
  3.  * $Source: /usr/local/cvsroot/gccsdk/unixlib/source/clib/sys/param.h,v $
  4.  * $Date: 2004/08/16 21:01:26 $
  5.  * $Revision: 1.3 $
  6.  * $State: Exp $
  7.  * $Author: joty $
  8.  *
  9.  ***************************************************************************/
  10.  
  11. #ifndef __SYS_PARAM_H
  12. #define __SYS_PARAM_H
  13.  
  14. #ifndef __LIMITS_H
  15. #include <limits.h>
  16. #endif
  17.  
  18. #define MAXPATHLEN    _POSIX_PATH_MAX
  19.  
  20. /* Of the Unix systems I inspected, only Solaris puts maxhostnamelen in
  21.  *<netdb.h>
  22.  */
  23. /*
  24.  * Maximum length of a hostname
  25.  */
  26. #ifndef MAXHOSTNAMELEN
  27. #  define MAXHOSTNAMELEN 256
  28. #endif
  29.  
  30. #endif
  31.