diff options
author | Roland McGrath <roland@gnu.org> | 1995-09-27 02:50:10 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 1995-09-27 02:50:10 +0000 |
commit | c709e372e8940b3f374b690d7eb7521e69ab4228 (patch) | |
tree | 8a0a95671300f78c0bd1407f9b0eaf403f0a96f4 /sysdeps/unix/sysv/linux/sys | |
parent | 11c981a96d93feccba7cfb717f72db5d32a83f52 (diff) | |
download | glibc-c709e372e8940b3f374b690d7eb7521e69ab4228.zip glibc-c709e372e8940b3f374b690d7eb7521e69ab4228.tar.gz glibc-c709e372e8940b3f374b690d7eb7521e69ab4228.tar.bz2 |
* locale/libintl.h: Rewritten by Ulrich Drepper for use with GNU
gettext code.
* sysdeps/unix/sysv/linux/sys/param.h: New file.
* sysdeps/unix/sysv/linux/Subdirs: File removed.
* libc-symbols.h (_LIBC): Define to 1, not just empty.
Diffstat (limited to 'sysdeps/unix/sysv/linux/sys')
-rw-r--r-- | sysdeps/unix/sysv/linux/sys/param.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/sys/param.h b/sysdeps/unix/sysv/linux/sys/param.h new file mode 100644 index 0000000..652605e --- /dev/null +++ b/sysdeps/unix/sysv/linux/sys/param.h @@ -0,0 +1,32 @@ +#ifndef _SYS_PARAM_H +#define _SYS_PARAM_H + +#include <limits.h> +#include <linux/limits.h> +#include <linux/param.h> + +#include <sys/types.h> + +/* Don't change it. H.J. */ +#ifdef OLD_LINUX +#undef MAXHOSTNAMELEN +#define MAXHOSTNAMELEN 8 /* max length of hostname */ +#endif + +#ifndef howmany +#define howmany(x, y) (((x)+((y)-1))/(y)) +#endif + +#ifndef roundup +#define roundup(x, y) ((((x)+((y)-1))/(y))*(y)) +#endif + +#define MAXPATHLEN PATH_MAX +#define NOFILE OPEN_MAX + +/* Following the information of some of the kernel people I here assume + * that block size (i.e. the value of stat.st_blocks) for all filesystem + * is 512 bytes. If not tell me or HJ. -- Uli */ +#define DEV_BSIZE 512 + +#endif |