您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

36 行
703B

  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 NBBY
  11. # define NBBY 8 /* number of bits in a byte */
  12. #endif
  13. #ifndef HZ
  14. # define HZ (60)
  15. #endif
  16. #ifndef NOFILE
  17. # define NOFILE (60)
  18. #endif
  19. #ifndef PATHSIZE
  20. # define PATHSIZE (1024)
  21. #endif
  22. #define MAXPATHLEN PATH_MAX
  23. #define MAX(a,b) ((a) > (b) ? (a) : (b))
  24. #define MIN(a,b) ((a) < (b) ? (a) : (b))
  25. #ifndef howmany
  26. #define howmany(x, y) (((x)+((y)-1))/(y))
  27. #endif
  28. #endif