]>
diplodocus.org Git - nmh/blob - h/nmh.h
c632428d611d819739e30f05be1aacfb9146e7d3
2 * nmh.h -- system configuration header file
13 /* See etc/gen-ctype-checked.c. */
14 # include <sbr/ctype-checked.h>
35 #ifdef HAVE_SYS_PARAM_H
36 # include <sys/param.h>
44 * we should be getting this value from pathconf(_PC_PATH_MAX)
48 # define PATH_MAX MAXPATHLEN
50 /* so we will just pick something */
51 # define PATH_MAX 1024
56 * we should get this value from sysconf(_SC_NGROUPS_MAX)
60 # define NGROUPS_MAX NGROUPS
62 # define NGROUPS_MAX 16
67 * we should be getting this value from sysconf(_SC_OPEN_MAX)
71 # define OPEN_MAX NOFILE
73 /* so we will just pick something */
79 ssize_t
getline(char **lineptr
, size_t *n
, FILE *stream
);
83 * Defaults for programs if they aren't configured in a user's profile
86 #define DEFAULT_PAGER "more"
87 #define DEFAULT_EDITOR "vi"