Cygwin: Add new APIs tc[gs]etwinsize()
[newlib-cygwin.git] / newlib / libc / include / sys / param.h
blob9a6f115a6f12a35f83a6b818ba567f592c6eadb7
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. */
5 #ifndef _SYS_PARAM_H
6 # define _SYS_PARAM_H
8 #include <sys/config.h>
9 #include <sys/syslimits.h>
10 #include <machine/endian.h>
11 #include <machine/param.h>
13 #ifndef NBBY
14 # define NBBY 8 /* number of bits in a byte */
15 #endif
16 #ifndef HZ
17 # define HZ (60)
18 #endif
19 #ifndef NOFILE
20 # define NOFILE (60)
21 #endif
22 #ifndef PATHSIZE
23 # define PATHSIZE (1024)
24 #endif
26 #define MAXPATHLEN PATH_MAX
28 #define MAX(a,b) ((a) > (b) ? (a) : (b))
29 #define MIN(a,b) ((a) < (b) ? (a) : (b))
31 #ifndef howmany
32 #define howmany(x, y) (((x)+((y)-1))/(y))
33 #endif
35 #endif