home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue4 / SDL / gcc346 / !gcc / include / unixlib / sys / h / param < prev    next >
Encoding:
Text File  |  2006-09-17  |  648 b   |  31 lines

  1. /****************************************************************************
  2.  *
  3.  * $Source: /usr/local/cvsroot/gccsdk/unixlib/source/clib/sys/param.h,v $
  4.  * $Date: 2001/01/29 15:10:19 $
  5.  * $Revision: 1.2 $
  6.  * $State: Exp $
  7.  * $Author: admin $
  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.