param.h 564 B

12345678910111213141516171819202122232425262728
  1. /* This is a dummy <sys/param.h> file, not customized for any
  2. particular system. If there is a param.h in libc/sys/SYSDIR/sys,
  3. it will override this one. */
  4. #ifndef _SYS_PARAM_H
  5. # define _SYS_PARAM_H
  6. #include <sys/config.h>
  7. #include <sys/syslimits.h>
  8. #include <machine/endian.h>
  9. #include <machine/param.h>
  10. #ifndef HZ
  11. # define HZ (60)
  12. #endif
  13. #ifndef NOFILE
  14. # define NOFILE (60)
  15. #endif
  16. #ifndef PATHSIZE
  17. # define PATHSIZE (1024)
  18. #endif
  19. #define MAXPATHLEN PATH_MAX
  20. #define MAX(a,b) ((a) > (b) ? (a) : (b))
  21. #define MIN(a,b) ((a) < (b) ? (a) : (b))
  22. #endif