]>
diplodocus.org Git - nmh/blob - h/nmh.h
3 * nmh.h -- system configuration header file
14 /* See etc/gen-ctype-checked.c. */
15 # include <sbr/ctype-checked.h>
31 #define NLENGTH(dirent) strlen((dirent)->d_name)
37 #ifdef HAVE_SYS_PARAM_H
38 # include <sys/param.h>
46 * we should be getting this value from pathconf(_PC_PATH_MAX)
50 # define PATH_MAX MAXPATHLEN
52 /* so we will just pick something */
53 # define PATH_MAX 1024
58 * we should get this value from sysconf(_SC_NGROUPS_MAX)
62 # define NGROUPS_MAX NGROUPS
64 # define NGROUPS_MAX 16
69 * we should be getting this value from sysconf(_SC_OPEN_MAX)
73 # define OPEN_MAX NOFILE
75 /* so we will just pick something */
81 ssize_t
getline(char **lineptr
, size_t *n
, FILE *stream
);
85 * Defaults for programs if they aren't configured in a user's profile
88 #define DEFAULT_PAGER "more"
89 #define DEFAULT_EDITOR "vi"