getconf.h (382cc5a49418becdfec0f857cc6b8c7c9450ec2b) getconf.h (dda1cfcf5976e27a9d70dab0a7761e27a672ba1e)
1/*
2 * Copyright 2000 Massachusetts Institute of Technology
3 *
4 * Permission to use, copy, modify, and distribute this software and
5 * its documentation for any purpose and without fee is hereby
6 * granted, provided that both the above copyright notice and this
7 * permission notice appear in all copies, that both the above
8 * copyright notice and this permission notice appear in all

--- 27 unchanged lines hidden (view full) ---

36#include <inttypes.h>
37#endif
38
39int find_confstr(const char *name, int *key);
40int find_limit(const char *name, intmax_t *value);
41int find_pathconf(const char *name, int *key);
42int find_progenv(const char *name, const char **alt_path);
43int find_sysconf(const char *name, int *key);
1/*
2 * Copyright 2000 Massachusetts Institute of Technology
3 *
4 * Permission to use, copy, modify, and distribute this software and
5 * its documentation for any purpose and without fee is hereby
6 * granted, provided that both the above copyright notice and this
7 * permission notice appear in all copies, that both the above
8 * copyright notice and this permission notice appear in all

--- 27 unchanged lines hidden (view full) ---

36#include <inttypes.h>
37#endif
38
39int find_confstr(const char *name, int *key);
40int find_limit(const char *name, intmax_t *value);
41int find_pathconf(const char *name, int *key);
42int find_progenv(const char *name, const char **alt_path);
43int find_sysconf(const char *name, int *key);
44void foreach_confstr(void (*func)(const char *, int));
45void foreach_pathconf(void (*func)(const char *, int, const char *),
46 const char *path);
47void foreach_sysconf(void (*func)(const char *, int));