]>
diplodocus.org Git - nmh/blob - h/nmh.h
1 /* nmh.h -- system configuration header file
12 /* See etc/gen-ctype-checked.c. */
13 # include <sbr/ctype-checked.h>
34 #ifdef HAVE_SYS_PARAM_H
35 # include <sys/param.h>
43 * we should be getting this value from pathconf(_PC_PATH_MAX)
47 # define PATH_MAX MAXPATHLEN
49 /* so we will just pick something */
50 # define PATH_MAX 1024
55 * we should get this value from sysconf(_SC_NGROUPS_MAX)
59 # define NGROUPS_MAX NGROUPS
61 # define NGROUPS_MAX 16
66 * we should be getting this value from sysconf(_SC_OPEN_MAX)
70 # define OPEN_MAX NOFILE
72 /* so we will just pick something */
78 ssize_t
getline(char **lineptr
, size_t *n
, FILE *stream
);
82 * Defaults for programs if they aren't configured in a user's profile
85 #define DEFAULT_PAGER "more"
86 #define DEFAULT_EDITOR "vi"