confstr.gperf (814aaaa7da4dab462d90e12e7b48b75f2093ccfd) confstr.gperf (b4b4b5304bd22eab265c9c049cb7fc6b55c4ef3f)
1%{
2/*
3 * Copyright is disclaimed as to the contents of this file.
4 *
5 * $FreeBSD$
6 */
7
8#include <sys/types.h>

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

47_POSIX_V6_ILP32_OFFBIG_LIBS, _CS_POSIX_V6_ILP32_OFFBIG_LIBS
48_POSIX_V6_LP64_OFF64_CFLAGS, _CS_POSIX_V6_LP64_OFF64_CFLAGS
49_POSIX_V6_LP64_OFF64_LDFLAGS, _CS_POSIX_V6_LP64_OFF64_LDFLAGS
50_POSIX_V6_LP64_OFF64_LIBS, _CS_POSIX_V6_LP64_OFF64_LIBS
51_POSIX_V6_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS
52_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS
53_POSIX_V6_LPBIG_OFFBIG_LIBS, _CS_POSIX_V6_LPBIG_OFFBIG_LIBS
54_POSIX_V6_WIDTH_RESTRICTED_ENVS, _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS
1%{
2/*
3 * Copyright is disclaimed as to the contents of this file.
4 *
5 * $FreeBSD$
6 */
7
8#include <sys/types.h>

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

47_POSIX_V6_ILP32_OFFBIG_LIBS, _CS_POSIX_V6_ILP32_OFFBIG_LIBS
48_POSIX_V6_LP64_OFF64_CFLAGS, _CS_POSIX_V6_LP64_OFF64_CFLAGS
49_POSIX_V6_LP64_OFF64_LDFLAGS, _CS_POSIX_V6_LP64_OFF64_LDFLAGS
50_POSIX_V6_LP64_OFF64_LIBS, _CS_POSIX_V6_LP64_OFF64_LIBS
51_POSIX_V6_LPBIG_OFFBIG_CFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS
52_POSIX_V6_LPBIG_OFFBIG_LDFLAGS, _CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS
53_POSIX_V6_LPBIG_OFFBIG_LIBS, _CS_POSIX_V6_LPBIG_OFFBIG_LIBS
54_POSIX_V6_WIDTH_RESTRICTED_ENVS, _CS_POSIX_V6_WIDTH_RESTRICTED_ENVS
55DARWIN_USER_DIR, _CS_DARWIN_USER_DIR
56DARWIN_USER_TEMP_DIR, _CS_DARWIN_USER_TEMP_DIR
57DARWIN_USER_CACHE_DIR, _CS_DARWIN_USER_CACHE_DIR
58%%
59int
60find_confstr(const char *name, int *key)
61{
62 const struct map *rv;
63
64 rv = in_word_set(name);
65 if (rv != NULL) {
66 if (rv->valid) {
67 *key = rv->key;
68 return 1;
69 }
70 return -1;
71 }
72 return 0;
73}
55%%
56int
57find_confstr(const char *name, int *key)
58{
59 const struct map *rv;
60
61 rv = in_word_set(name);
62 if (rv != NULL) {
63 if (rv->valid) {
64 *key = rv->key;
65 return 1;
66 }
67 return -1;
68 }
69 return 0;
70}