etc 1.4.3 → 1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ChangeLog +4 -140
- data/ext/etc/constdefs.h +187 -0
- data/ext/etc/etc.c +84 -36
- data/ext/etc/mkconstants.rb +22 -10
- data/test/etc/test_etc.rb +4 -0
- metadata +6 -24
- data/logs/ChangeLog-1.0.0 +0 -65
- data/logs/ChangeLog-1.0.1 +0 -71
- data/logs/ChangeLog-1.1.0 +0 -143
- data/logs/ChangeLog-1.2.0 +0 -124
- data/logs/ChangeLog-1.3.0 +0 -83
- data/logs/ChangeLog-1.3.1 +0 -145
- data/logs/ChangeLog-1.4.0 +0 -73
- data/logs/ChangeLog-1.4.1 +0 -97
- data/logs/ChangeLog-1.4.2 +0 -22
data/ext/etc/constdefs.h
CHANGED
@@ -938,556 +938,743 @@
|
|
938
938
|
static void
|
939
939
|
init_constants(VALUE mod)
|
940
940
|
{
|
941
|
+
#if 0
|
942
|
+
mod = rb_define_module("Etc");
|
943
|
+
#endif
|
941
944
|
#if defined(_SC_AIO_LISTIO_MAX)
|
945
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
942
946
|
rb_define_const(mod, "SC_AIO_LISTIO_MAX", INTEGER2NUM(_SC_AIO_LISTIO_MAX));
|
943
947
|
#endif
|
944
948
|
#if defined(_SC_AIO_MAX)
|
949
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
945
950
|
rb_define_const(mod, "SC_AIO_MAX", INTEGER2NUM(_SC_AIO_MAX));
|
946
951
|
#endif
|
947
952
|
#if defined(_SC_AIO_PRIO_DELTA_MAX)
|
953
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
948
954
|
rb_define_const(mod, "SC_AIO_PRIO_DELTA_MAX", INTEGER2NUM(_SC_AIO_PRIO_DELTA_MAX));
|
949
955
|
#endif
|
950
956
|
#if defined(_SC_ARG_MAX)
|
957
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
951
958
|
rb_define_const(mod, "SC_ARG_MAX", INTEGER2NUM(_SC_ARG_MAX));
|
952
959
|
#endif
|
953
960
|
#if defined(_SC_ATEXIT_MAX)
|
961
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
954
962
|
rb_define_const(mod, "SC_ATEXIT_MAX", INTEGER2NUM(_SC_ATEXIT_MAX));
|
955
963
|
#endif
|
956
964
|
#if defined(_SC_BC_BASE_MAX)
|
965
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
957
966
|
rb_define_const(mod, "SC_BC_BASE_MAX", INTEGER2NUM(_SC_BC_BASE_MAX));
|
958
967
|
#endif
|
959
968
|
#if defined(_SC_BC_DIM_MAX)
|
969
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
960
970
|
rb_define_const(mod, "SC_BC_DIM_MAX", INTEGER2NUM(_SC_BC_DIM_MAX));
|
961
971
|
#endif
|
962
972
|
#if defined(_SC_BC_SCALE_MAX)
|
973
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
963
974
|
rb_define_const(mod, "SC_BC_SCALE_MAX", INTEGER2NUM(_SC_BC_SCALE_MAX));
|
964
975
|
#endif
|
965
976
|
#if defined(_SC_BC_STRING_MAX)
|
977
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
966
978
|
rb_define_const(mod, "SC_BC_STRING_MAX", INTEGER2NUM(_SC_BC_STRING_MAX));
|
967
979
|
#endif
|
968
980
|
#if defined(_SC_CHILD_MAX)
|
981
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
969
982
|
rb_define_const(mod, "SC_CHILD_MAX", INTEGER2NUM(_SC_CHILD_MAX));
|
970
983
|
#endif
|
971
984
|
#if defined(_SC_CLK_TCK)
|
985
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
972
986
|
rb_define_const(mod, "SC_CLK_TCK", INTEGER2NUM(_SC_CLK_TCK));
|
973
987
|
#endif
|
974
988
|
#if defined(_SC_COLL_WEIGHTS_MAX)
|
989
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
975
990
|
rb_define_const(mod, "SC_COLL_WEIGHTS_MAX", INTEGER2NUM(_SC_COLL_WEIGHTS_MAX));
|
976
991
|
#endif
|
977
992
|
#if defined(_SC_DELAYTIMER_MAX)
|
993
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
978
994
|
rb_define_const(mod, "SC_DELAYTIMER_MAX", INTEGER2NUM(_SC_DELAYTIMER_MAX));
|
979
995
|
#endif
|
980
996
|
#if defined(_SC_EXPR_NEST_MAX)
|
997
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
981
998
|
rb_define_const(mod, "SC_EXPR_NEST_MAX", INTEGER2NUM(_SC_EXPR_NEST_MAX));
|
982
999
|
#endif
|
983
1000
|
#if defined(_SC_HOST_NAME_MAX)
|
1001
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
984
1002
|
rb_define_const(mod, "SC_HOST_NAME_MAX", INTEGER2NUM(_SC_HOST_NAME_MAX));
|
985
1003
|
#endif
|
986
1004
|
#if defined(_SC_IOV_MAX)
|
1005
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
987
1006
|
rb_define_const(mod, "SC_IOV_MAX", INTEGER2NUM(_SC_IOV_MAX));
|
988
1007
|
#endif
|
989
1008
|
#if defined(_SC_LINE_MAX)
|
1009
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
990
1010
|
rb_define_const(mod, "SC_LINE_MAX", INTEGER2NUM(_SC_LINE_MAX));
|
991
1011
|
#endif
|
992
1012
|
#if defined(_SC_LOGIN_NAME_MAX)
|
1013
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
993
1014
|
rb_define_const(mod, "SC_LOGIN_NAME_MAX", INTEGER2NUM(_SC_LOGIN_NAME_MAX));
|
994
1015
|
#endif
|
995
1016
|
#if defined(_SC_NGROUPS_MAX)
|
1017
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
996
1018
|
rb_define_const(mod, "SC_NGROUPS_MAX", INTEGER2NUM(_SC_NGROUPS_MAX));
|
997
1019
|
#endif
|
998
1020
|
#if defined(_SC_GETGR_R_SIZE_MAX)
|
1021
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
999
1022
|
rb_define_const(mod, "SC_GETGR_R_SIZE_MAX", INTEGER2NUM(_SC_GETGR_R_SIZE_MAX));
|
1000
1023
|
#endif
|
1001
1024
|
#if defined(_SC_GETPW_R_SIZE_MAX)
|
1025
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1002
1026
|
rb_define_const(mod, "SC_GETPW_R_SIZE_MAX", INTEGER2NUM(_SC_GETPW_R_SIZE_MAX));
|
1003
1027
|
#endif
|
1004
1028
|
#if defined(_SC_MQ_OPEN_MAX)
|
1029
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1005
1030
|
rb_define_const(mod, "SC_MQ_OPEN_MAX", INTEGER2NUM(_SC_MQ_OPEN_MAX));
|
1006
1031
|
#endif
|
1007
1032
|
#if defined(_SC_MQ_PRIO_MAX)
|
1033
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1008
1034
|
rb_define_const(mod, "SC_MQ_PRIO_MAX", INTEGER2NUM(_SC_MQ_PRIO_MAX));
|
1009
1035
|
#endif
|
1010
1036
|
#if defined(_SC_OPEN_MAX)
|
1037
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1011
1038
|
rb_define_const(mod, "SC_OPEN_MAX", INTEGER2NUM(_SC_OPEN_MAX));
|
1012
1039
|
#endif
|
1013
1040
|
#if defined(_SC_ADVISORY_INFO)
|
1041
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1014
1042
|
rb_define_const(mod, "SC_ADVISORY_INFO", INTEGER2NUM(_SC_ADVISORY_INFO));
|
1015
1043
|
#endif
|
1016
1044
|
#if defined(_SC_BARRIERS)
|
1045
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1017
1046
|
rb_define_const(mod, "SC_BARRIERS", INTEGER2NUM(_SC_BARRIERS));
|
1018
1047
|
#endif
|
1019
1048
|
#if defined(_SC_ASYNCHRONOUS_IO)
|
1049
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1020
1050
|
rb_define_const(mod, "SC_ASYNCHRONOUS_IO", INTEGER2NUM(_SC_ASYNCHRONOUS_IO));
|
1021
1051
|
#endif
|
1022
1052
|
#if defined(_SC_CLOCK_SELECTION)
|
1053
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1023
1054
|
rb_define_const(mod, "SC_CLOCK_SELECTION", INTEGER2NUM(_SC_CLOCK_SELECTION));
|
1024
1055
|
#endif
|
1025
1056
|
#if defined(_SC_CPUTIME)
|
1057
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1026
1058
|
rb_define_const(mod, "SC_CPUTIME", INTEGER2NUM(_SC_CPUTIME));
|
1027
1059
|
#endif
|
1028
1060
|
#if defined(_SC_FSYNC)
|
1061
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1029
1062
|
rb_define_const(mod, "SC_FSYNC", INTEGER2NUM(_SC_FSYNC));
|
1030
1063
|
#endif
|
1031
1064
|
#if defined(_SC_IPV6)
|
1065
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1032
1066
|
rb_define_const(mod, "SC_IPV6", INTEGER2NUM(_SC_IPV6));
|
1033
1067
|
#endif
|
1034
1068
|
#if defined(_SC_JOB_CONTROL)
|
1069
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1035
1070
|
rb_define_const(mod, "SC_JOB_CONTROL", INTEGER2NUM(_SC_JOB_CONTROL));
|
1036
1071
|
#endif
|
1037
1072
|
#if defined(_SC_MAPPED_FILES)
|
1073
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1038
1074
|
rb_define_const(mod, "SC_MAPPED_FILES", INTEGER2NUM(_SC_MAPPED_FILES));
|
1039
1075
|
#endif
|
1040
1076
|
#if defined(_SC_MEMLOCK)
|
1077
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1041
1078
|
rb_define_const(mod, "SC_MEMLOCK", INTEGER2NUM(_SC_MEMLOCK));
|
1042
1079
|
#endif
|
1043
1080
|
#if defined(_SC_MEMLOCK_RANGE)
|
1081
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1044
1082
|
rb_define_const(mod, "SC_MEMLOCK_RANGE", INTEGER2NUM(_SC_MEMLOCK_RANGE));
|
1045
1083
|
#endif
|
1046
1084
|
#if defined(_SC_MEMORY_PROTECTION)
|
1085
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1047
1086
|
rb_define_const(mod, "SC_MEMORY_PROTECTION", INTEGER2NUM(_SC_MEMORY_PROTECTION));
|
1048
1087
|
#endif
|
1049
1088
|
#if defined(_SC_MESSAGE_PASSING)
|
1089
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1050
1090
|
rb_define_const(mod, "SC_MESSAGE_PASSING", INTEGER2NUM(_SC_MESSAGE_PASSING));
|
1051
1091
|
#endif
|
1052
1092
|
#if defined(_SC_MONOTONIC_CLOCK)
|
1093
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1053
1094
|
rb_define_const(mod, "SC_MONOTONIC_CLOCK", INTEGER2NUM(_SC_MONOTONIC_CLOCK));
|
1054
1095
|
#endif
|
1055
1096
|
#if defined(_SC_PRIORITIZED_IO)
|
1097
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1056
1098
|
rb_define_const(mod, "SC_PRIORITIZED_IO", INTEGER2NUM(_SC_PRIORITIZED_IO));
|
1057
1099
|
#endif
|
1058
1100
|
#if defined(_SC_PRIORITY_SCHEDULING)
|
1101
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1059
1102
|
rb_define_const(mod, "SC_PRIORITY_SCHEDULING", INTEGER2NUM(_SC_PRIORITY_SCHEDULING));
|
1060
1103
|
#endif
|
1061
1104
|
#if defined(_SC_RAW_SOCKETS)
|
1105
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1062
1106
|
rb_define_const(mod, "SC_RAW_SOCKETS", INTEGER2NUM(_SC_RAW_SOCKETS));
|
1063
1107
|
#endif
|
1064
1108
|
#if defined(_SC_READER_WRITER_LOCKS)
|
1109
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1065
1110
|
rb_define_const(mod, "SC_READER_WRITER_LOCKS", INTEGER2NUM(_SC_READER_WRITER_LOCKS));
|
1066
1111
|
#endif
|
1067
1112
|
#if defined(_SC_REALTIME_SIGNALS)
|
1113
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1068
1114
|
rb_define_const(mod, "SC_REALTIME_SIGNALS", INTEGER2NUM(_SC_REALTIME_SIGNALS));
|
1069
1115
|
#endif
|
1070
1116
|
#if defined(_SC_REGEXP)
|
1117
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1071
1118
|
rb_define_const(mod, "SC_REGEXP", INTEGER2NUM(_SC_REGEXP));
|
1072
1119
|
#endif
|
1073
1120
|
#if defined(_SC_SAVED_IDS)
|
1121
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1074
1122
|
rb_define_const(mod, "SC_SAVED_IDS", INTEGER2NUM(_SC_SAVED_IDS));
|
1075
1123
|
#endif
|
1076
1124
|
#if defined(_SC_SEMAPHORES)
|
1125
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1077
1126
|
rb_define_const(mod, "SC_SEMAPHORES", INTEGER2NUM(_SC_SEMAPHORES));
|
1078
1127
|
#endif
|
1079
1128
|
#if defined(_SC_SHARED_MEMORY_OBJECTS)
|
1129
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1080
1130
|
rb_define_const(mod, "SC_SHARED_MEMORY_OBJECTS", INTEGER2NUM(_SC_SHARED_MEMORY_OBJECTS));
|
1081
1131
|
#endif
|
1082
1132
|
#if defined(_SC_SHELL)
|
1133
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1083
1134
|
rb_define_const(mod, "SC_SHELL", INTEGER2NUM(_SC_SHELL));
|
1084
1135
|
#endif
|
1085
1136
|
#if defined(_SC_SPAWN)
|
1137
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1086
1138
|
rb_define_const(mod, "SC_SPAWN", INTEGER2NUM(_SC_SPAWN));
|
1087
1139
|
#endif
|
1088
1140
|
#if defined(_SC_SPIN_LOCKS)
|
1141
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1089
1142
|
rb_define_const(mod, "SC_SPIN_LOCKS", INTEGER2NUM(_SC_SPIN_LOCKS));
|
1090
1143
|
#endif
|
1091
1144
|
#if defined(_SC_SPORADIC_SERVER)
|
1145
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1092
1146
|
rb_define_const(mod, "SC_SPORADIC_SERVER", INTEGER2NUM(_SC_SPORADIC_SERVER));
|
1093
1147
|
#endif
|
1094
1148
|
#if defined(_SC_SS_REPL_MAX)
|
1149
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1095
1150
|
rb_define_const(mod, "SC_SS_REPL_MAX", INTEGER2NUM(_SC_SS_REPL_MAX));
|
1096
1151
|
#endif
|
1097
1152
|
#if defined(_SC_SYNCHRONIZED_IO)
|
1153
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1098
1154
|
rb_define_const(mod, "SC_SYNCHRONIZED_IO", INTEGER2NUM(_SC_SYNCHRONIZED_IO));
|
1099
1155
|
#endif
|
1100
1156
|
#if defined(_SC_THREAD_ATTR_STACKADDR)
|
1157
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1101
1158
|
rb_define_const(mod, "SC_THREAD_ATTR_STACKADDR", INTEGER2NUM(_SC_THREAD_ATTR_STACKADDR));
|
1102
1159
|
#endif
|
1103
1160
|
#if defined(_SC_THREAD_ATTR_STACKSIZE)
|
1161
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1104
1162
|
rb_define_const(mod, "SC_THREAD_ATTR_STACKSIZE", INTEGER2NUM(_SC_THREAD_ATTR_STACKSIZE));
|
1105
1163
|
#endif
|
1106
1164
|
#if defined(_SC_THREAD_CPUTIME)
|
1165
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1107
1166
|
rb_define_const(mod, "SC_THREAD_CPUTIME", INTEGER2NUM(_SC_THREAD_CPUTIME));
|
1108
1167
|
#endif
|
1109
1168
|
#if defined(_SC_THREAD_PRIO_INHERIT)
|
1169
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1110
1170
|
rb_define_const(mod, "SC_THREAD_PRIO_INHERIT", INTEGER2NUM(_SC_THREAD_PRIO_INHERIT));
|
1111
1171
|
#endif
|
1112
1172
|
#if defined(_SC_THREAD_PRIO_PROTECT)
|
1173
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1113
1174
|
rb_define_const(mod, "SC_THREAD_PRIO_PROTECT", INTEGER2NUM(_SC_THREAD_PRIO_PROTECT));
|
1114
1175
|
#endif
|
1115
1176
|
#if defined(_SC_THREAD_PRIORITY_SCHEDULING)
|
1177
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1116
1178
|
rb_define_const(mod, "SC_THREAD_PRIORITY_SCHEDULING", INTEGER2NUM(_SC_THREAD_PRIORITY_SCHEDULING));
|
1117
1179
|
#endif
|
1118
1180
|
#if defined(_SC_THREAD_PROCESS_SHARED)
|
1181
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1119
1182
|
rb_define_const(mod, "SC_THREAD_PROCESS_SHARED", INTEGER2NUM(_SC_THREAD_PROCESS_SHARED));
|
1120
1183
|
#endif
|
1121
1184
|
#if defined(_SC_THREAD_ROBUST_PRIO_INHERIT)
|
1185
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1122
1186
|
rb_define_const(mod, "SC_THREAD_ROBUST_PRIO_INHERIT", INTEGER2NUM(_SC_THREAD_ROBUST_PRIO_INHERIT));
|
1123
1187
|
#endif
|
1124
1188
|
#if defined(_SC_THREAD_ROBUST_PRIO_PROTECT)
|
1189
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1125
1190
|
rb_define_const(mod, "SC_THREAD_ROBUST_PRIO_PROTECT", INTEGER2NUM(_SC_THREAD_ROBUST_PRIO_PROTECT));
|
1126
1191
|
#endif
|
1127
1192
|
#if defined(_SC_THREAD_SAFE_FUNCTIONS)
|
1193
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1128
1194
|
rb_define_const(mod, "SC_THREAD_SAFE_FUNCTIONS", INTEGER2NUM(_SC_THREAD_SAFE_FUNCTIONS));
|
1129
1195
|
#endif
|
1130
1196
|
#if defined(_SC_THREAD_SPORADIC_SERVER)
|
1197
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1131
1198
|
rb_define_const(mod, "SC_THREAD_SPORADIC_SERVER", INTEGER2NUM(_SC_THREAD_SPORADIC_SERVER));
|
1132
1199
|
#endif
|
1133
1200
|
#if defined(_SC_THREADS)
|
1201
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1134
1202
|
rb_define_const(mod, "SC_THREADS", INTEGER2NUM(_SC_THREADS));
|
1135
1203
|
#endif
|
1136
1204
|
#if defined(_SC_TIMEOUTS)
|
1205
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1137
1206
|
rb_define_const(mod, "SC_TIMEOUTS", INTEGER2NUM(_SC_TIMEOUTS));
|
1138
1207
|
#endif
|
1139
1208
|
#if defined(_SC_TIMERS)
|
1209
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1140
1210
|
rb_define_const(mod, "SC_TIMERS", INTEGER2NUM(_SC_TIMERS));
|
1141
1211
|
#endif
|
1142
1212
|
#if defined(_SC_TRACE)
|
1213
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1143
1214
|
rb_define_const(mod, "SC_TRACE", INTEGER2NUM(_SC_TRACE));
|
1144
1215
|
#endif
|
1145
1216
|
#if defined(_SC_TRACE_EVENT_FILTER)
|
1217
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1146
1218
|
rb_define_const(mod, "SC_TRACE_EVENT_FILTER", INTEGER2NUM(_SC_TRACE_EVENT_FILTER));
|
1147
1219
|
#endif
|
1148
1220
|
#if defined(_SC_TRACE_EVENT_NAME_MAX)
|
1221
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1149
1222
|
rb_define_const(mod, "SC_TRACE_EVENT_NAME_MAX", INTEGER2NUM(_SC_TRACE_EVENT_NAME_MAX));
|
1150
1223
|
#endif
|
1151
1224
|
#if defined(_SC_TRACE_INHERIT)
|
1225
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1152
1226
|
rb_define_const(mod, "SC_TRACE_INHERIT", INTEGER2NUM(_SC_TRACE_INHERIT));
|
1153
1227
|
#endif
|
1154
1228
|
#if defined(_SC_TRACE_LOG)
|
1229
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1155
1230
|
rb_define_const(mod, "SC_TRACE_LOG", INTEGER2NUM(_SC_TRACE_LOG));
|
1156
1231
|
#endif
|
1157
1232
|
#if defined(_SC_TRACE_NAME_MAX)
|
1233
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1158
1234
|
rb_define_const(mod, "SC_TRACE_NAME_MAX", INTEGER2NUM(_SC_TRACE_NAME_MAX));
|
1159
1235
|
#endif
|
1160
1236
|
#if defined(_SC_TRACE_SYS_MAX)
|
1237
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1161
1238
|
rb_define_const(mod, "SC_TRACE_SYS_MAX", INTEGER2NUM(_SC_TRACE_SYS_MAX));
|
1162
1239
|
#endif
|
1163
1240
|
#if defined(_SC_TRACE_USER_EVENT_MAX)
|
1241
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1164
1242
|
rb_define_const(mod, "SC_TRACE_USER_EVENT_MAX", INTEGER2NUM(_SC_TRACE_USER_EVENT_MAX));
|
1165
1243
|
#endif
|
1166
1244
|
#if defined(_SC_TYPED_MEMORY_OBJECTS)
|
1245
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1167
1246
|
rb_define_const(mod, "SC_TYPED_MEMORY_OBJECTS", INTEGER2NUM(_SC_TYPED_MEMORY_OBJECTS));
|
1168
1247
|
#endif
|
1169
1248
|
#if defined(_SC_VERSION)
|
1249
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1170
1250
|
rb_define_const(mod, "SC_VERSION", INTEGER2NUM(_SC_VERSION));
|
1171
1251
|
#endif
|
1172
1252
|
#if defined(_SC_V7_ILP32_OFF32)
|
1253
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1173
1254
|
rb_define_const(mod, "SC_V7_ILP32_OFF32", INTEGER2NUM(_SC_V7_ILP32_OFF32));
|
1174
1255
|
#endif
|
1175
1256
|
#if defined(_SC_V7_ILP32_OFFBIG)
|
1257
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1176
1258
|
rb_define_const(mod, "SC_V7_ILP32_OFFBIG", INTEGER2NUM(_SC_V7_ILP32_OFFBIG));
|
1177
1259
|
#endif
|
1178
1260
|
#if defined(_SC_V7_LP64_OFF64)
|
1261
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1179
1262
|
rb_define_const(mod, "SC_V7_LP64_OFF64", INTEGER2NUM(_SC_V7_LP64_OFF64));
|
1180
1263
|
#endif
|
1181
1264
|
#if defined(_SC_V7_LPBIG_OFFBIG)
|
1265
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1182
1266
|
rb_define_const(mod, "SC_V7_LPBIG_OFFBIG", INTEGER2NUM(_SC_V7_LPBIG_OFFBIG));
|
1183
1267
|
#endif
|
1184
1268
|
#if defined(_SC_V6_ILP32_OFF32)
|
1269
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1185
1270
|
rb_define_const(mod, "SC_V6_ILP32_OFF32", INTEGER2NUM(_SC_V6_ILP32_OFF32));
|
1186
1271
|
#endif
|
1187
1272
|
#if defined(_SC_V6_ILP32_OFFBIG)
|
1273
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1188
1274
|
rb_define_const(mod, "SC_V6_ILP32_OFFBIG", INTEGER2NUM(_SC_V6_ILP32_OFFBIG));
|
1189
1275
|
#endif
|
1190
1276
|
#if defined(_SC_V6_LP64_OFF64)
|
1277
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1191
1278
|
rb_define_const(mod, "SC_V6_LP64_OFF64", INTEGER2NUM(_SC_V6_LP64_OFF64));
|
1192
1279
|
#endif
|
1193
1280
|
#if defined(_SC_V6_LPBIG_OFFBIG)
|
1281
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1194
1282
|
rb_define_const(mod, "SC_V6_LPBIG_OFFBIG", INTEGER2NUM(_SC_V6_LPBIG_OFFBIG));
|
1195
1283
|
#endif
|
1196
1284
|
#if defined(_SC_2_C_BIND)
|
1285
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1197
1286
|
rb_define_const(mod, "SC_2_C_BIND", INTEGER2NUM(_SC_2_C_BIND));
|
1198
1287
|
#endif
|
1199
1288
|
#if defined(_SC_2_C_DEV)
|
1289
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1200
1290
|
rb_define_const(mod, "SC_2_C_DEV", INTEGER2NUM(_SC_2_C_DEV));
|
1201
1291
|
#endif
|
1202
1292
|
#if defined(_SC_2_CHAR_TERM)
|
1293
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1203
1294
|
rb_define_const(mod, "SC_2_CHAR_TERM", INTEGER2NUM(_SC_2_CHAR_TERM));
|
1204
1295
|
#endif
|
1205
1296
|
#if defined(_SC_2_FORT_DEV)
|
1297
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1206
1298
|
rb_define_const(mod, "SC_2_FORT_DEV", INTEGER2NUM(_SC_2_FORT_DEV));
|
1207
1299
|
#endif
|
1208
1300
|
#if defined(_SC_2_FORT_RUN)
|
1301
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1209
1302
|
rb_define_const(mod, "SC_2_FORT_RUN", INTEGER2NUM(_SC_2_FORT_RUN));
|
1210
1303
|
#endif
|
1211
1304
|
#if defined(_SC_2_LOCALEDEF)
|
1305
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1212
1306
|
rb_define_const(mod, "SC_2_LOCALEDEF", INTEGER2NUM(_SC_2_LOCALEDEF));
|
1213
1307
|
#endif
|
1214
1308
|
#if defined(_SC_2_PBS)
|
1309
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1215
1310
|
rb_define_const(mod, "SC_2_PBS", INTEGER2NUM(_SC_2_PBS));
|
1216
1311
|
#endif
|
1217
1312
|
#if defined(_SC_2_PBS_ACCOUNTING)
|
1313
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1218
1314
|
rb_define_const(mod, "SC_2_PBS_ACCOUNTING", INTEGER2NUM(_SC_2_PBS_ACCOUNTING));
|
1219
1315
|
#endif
|
1220
1316
|
#if defined(_SC_2_PBS_CHECKPOINT)
|
1317
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1221
1318
|
rb_define_const(mod, "SC_2_PBS_CHECKPOINT", INTEGER2NUM(_SC_2_PBS_CHECKPOINT));
|
1222
1319
|
#endif
|
1223
1320
|
#if defined(_SC_2_PBS_LOCATE)
|
1321
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1224
1322
|
rb_define_const(mod, "SC_2_PBS_LOCATE", INTEGER2NUM(_SC_2_PBS_LOCATE));
|
1225
1323
|
#endif
|
1226
1324
|
#if defined(_SC_2_PBS_MESSAGE)
|
1325
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1227
1326
|
rb_define_const(mod, "SC_2_PBS_MESSAGE", INTEGER2NUM(_SC_2_PBS_MESSAGE));
|
1228
1327
|
#endif
|
1229
1328
|
#if defined(_SC_2_PBS_TRACK)
|
1329
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1230
1330
|
rb_define_const(mod, "SC_2_PBS_TRACK", INTEGER2NUM(_SC_2_PBS_TRACK));
|
1231
1331
|
#endif
|
1232
1332
|
#if defined(_SC_2_SW_DEV)
|
1333
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1233
1334
|
rb_define_const(mod, "SC_2_SW_DEV", INTEGER2NUM(_SC_2_SW_DEV));
|
1234
1335
|
#endif
|
1235
1336
|
#if defined(_SC_2_UPE)
|
1337
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1236
1338
|
rb_define_const(mod, "SC_2_UPE", INTEGER2NUM(_SC_2_UPE));
|
1237
1339
|
#endif
|
1238
1340
|
#if defined(_SC_2_VERSION)
|
1341
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1239
1342
|
rb_define_const(mod, "SC_2_VERSION", INTEGER2NUM(_SC_2_VERSION));
|
1240
1343
|
#endif
|
1241
1344
|
#if defined(_SC_PAGE_SIZE)
|
1345
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1242
1346
|
rb_define_const(mod, "SC_PAGE_SIZE", INTEGER2NUM(_SC_PAGE_SIZE));
|
1243
1347
|
#endif
|
1244
1348
|
#if defined(_SC_PAGESIZE)
|
1349
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1245
1350
|
rb_define_const(mod, "SC_PAGESIZE", INTEGER2NUM(_SC_PAGESIZE));
|
1246
1351
|
#endif
|
1247
1352
|
#if defined(_SC_THREAD_DESTRUCTOR_ITERATIONS)
|
1353
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1248
1354
|
rb_define_const(mod, "SC_THREAD_DESTRUCTOR_ITERATIONS", INTEGER2NUM(_SC_THREAD_DESTRUCTOR_ITERATIONS));
|
1249
1355
|
#endif
|
1250
1356
|
#if defined(_SC_THREAD_KEYS_MAX)
|
1357
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1251
1358
|
rb_define_const(mod, "SC_THREAD_KEYS_MAX", INTEGER2NUM(_SC_THREAD_KEYS_MAX));
|
1252
1359
|
#endif
|
1253
1360
|
#if defined(_SC_THREAD_STACK_MIN)
|
1361
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1254
1362
|
rb_define_const(mod, "SC_THREAD_STACK_MIN", INTEGER2NUM(_SC_THREAD_STACK_MIN));
|
1255
1363
|
#endif
|
1256
1364
|
#if defined(_SC_THREAD_THREADS_MAX)
|
1365
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1257
1366
|
rb_define_const(mod, "SC_THREAD_THREADS_MAX", INTEGER2NUM(_SC_THREAD_THREADS_MAX));
|
1258
1367
|
#endif
|
1259
1368
|
#if defined(_SC_RE_DUP_MAX)
|
1369
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1260
1370
|
rb_define_const(mod, "SC_RE_DUP_MAX", INTEGER2NUM(_SC_RE_DUP_MAX));
|
1261
1371
|
#endif
|
1262
1372
|
#if defined(_SC_RTSIG_MAX)
|
1373
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1263
1374
|
rb_define_const(mod, "SC_RTSIG_MAX", INTEGER2NUM(_SC_RTSIG_MAX));
|
1264
1375
|
#endif
|
1265
1376
|
#if defined(_SC_SEM_NSEMS_MAX)
|
1377
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1266
1378
|
rb_define_const(mod, "SC_SEM_NSEMS_MAX", INTEGER2NUM(_SC_SEM_NSEMS_MAX));
|
1267
1379
|
#endif
|
1268
1380
|
#if defined(_SC_SEM_VALUE_MAX)
|
1381
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1269
1382
|
rb_define_const(mod, "SC_SEM_VALUE_MAX", INTEGER2NUM(_SC_SEM_VALUE_MAX));
|
1270
1383
|
#endif
|
1271
1384
|
#if defined(_SC_SIGQUEUE_MAX)
|
1385
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1272
1386
|
rb_define_const(mod, "SC_SIGQUEUE_MAX", INTEGER2NUM(_SC_SIGQUEUE_MAX));
|
1273
1387
|
#endif
|
1274
1388
|
#if defined(_SC_STREAM_MAX)
|
1389
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1275
1390
|
rb_define_const(mod, "SC_STREAM_MAX", INTEGER2NUM(_SC_STREAM_MAX));
|
1276
1391
|
#endif
|
1277
1392
|
#if defined(_SC_SYMLOOP_MAX)
|
1393
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1278
1394
|
rb_define_const(mod, "SC_SYMLOOP_MAX", INTEGER2NUM(_SC_SYMLOOP_MAX));
|
1279
1395
|
#endif
|
1280
1396
|
#if defined(_SC_TIMER_MAX)
|
1397
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1281
1398
|
rb_define_const(mod, "SC_TIMER_MAX", INTEGER2NUM(_SC_TIMER_MAX));
|
1282
1399
|
#endif
|
1283
1400
|
#if defined(_SC_TTY_NAME_MAX)
|
1401
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1284
1402
|
rb_define_const(mod, "SC_TTY_NAME_MAX", INTEGER2NUM(_SC_TTY_NAME_MAX));
|
1285
1403
|
#endif
|
1286
1404
|
#if defined(_SC_TZNAME_MAX)
|
1405
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1287
1406
|
rb_define_const(mod, "SC_TZNAME_MAX", INTEGER2NUM(_SC_TZNAME_MAX));
|
1288
1407
|
#endif
|
1289
1408
|
#if defined(_SC_XOPEN_CRYPT)
|
1409
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1290
1410
|
rb_define_const(mod, "SC_XOPEN_CRYPT", INTEGER2NUM(_SC_XOPEN_CRYPT));
|
1291
1411
|
#endif
|
1292
1412
|
#if defined(_SC_XOPEN_ENH_I18N)
|
1413
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1293
1414
|
rb_define_const(mod, "SC_XOPEN_ENH_I18N", INTEGER2NUM(_SC_XOPEN_ENH_I18N));
|
1294
1415
|
#endif
|
1295
1416
|
#if defined(_SC_XOPEN_REALTIME)
|
1417
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1296
1418
|
rb_define_const(mod, "SC_XOPEN_REALTIME", INTEGER2NUM(_SC_XOPEN_REALTIME));
|
1297
1419
|
#endif
|
1298
1420
|
#if defined(_SC_XOPEN_REALTIME_THREADS)
|
1421
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1299
1422
|
rb_define_const(mod, "SC_XOPEN_REALTIME_THREADS", INTEGER2NUM(_SC_XOPEN_REALTIME_THREADS));
|
1300
1423
|
#endif
|
1301
1424
|
#if defined(_SC_XOPEN_SHM)
|
1425
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1302
1426
|
rb_define_const(mod, "SC_XOPEN_SHM", INTEGER2NUM(_SC_XOPEN_SHM));
|
1303
1427
|
#endif
|
1304
1428
|
#if defined(_SC_XOPEN_STREAMS)
|
1429
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1305
1430
|
rb_define_const(mod, "SC_XOPEN_STREAMS", INTEGER2NUM(_SC_XOPEN_STREAMS));
|
1306
1431
|
#endif
|
1307
1432
|
#if defined(_SC_XOPEN_UNIX)
|
1433
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1308
1434
|
rb_define_const(mod, "SC_XOPEN_UNIX", INTEGER2NUM(_SC_XOPEN_UNIX));
|
1309
1435
|
#endif
|
1310
1436
|
#if defined(_SC_XOPEN_UUCP)
|
1437
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1311
1438
|
rb_define_const(mod, "SC_XOPEN_UUCP", INTEGER2NUM(_SC_XOPEN_UUCP));
|
1312
1439
|
#endif
|
1313
1440
|
#if defined(_SC_XOPEN_VERSION)
|
1441
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1314
1442
|
rb_define_const(mod, "SC_XOPEN_VERSION", INTEGER2NUM(_SC_XOPEN_VERSION));
|
1315
1443
|
#endif
|
1316
1444
|
#if defined(_SC_PHYS_PAGES)
|
1445
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1317
1446
|
rb_define_const(mod, "SC_PHYS_PAGES", INTEGER2NUM(_SC_PHYS_PAGES));
|
1318
1447
|
#endif
|
1319
1448
|
#if defined(_SC_AVPHYS_PAGES)
|
1449
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1320
1450
|
rb_define_const(mod, "SC_AVPHYS_PAGES", INTEGER2NUM(_SC_AVPHYS_PAGES));
|
1321
1451
|
#endif
|
1322
1452
|
#if defined(_SC_NPROCESSORS_CONF)
|
1453
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1323
1454
|
rb_define_const(mod, "SC_NPROCESSORS_CONF", INTEGER2NUM(_SC_NPROCESSORS_CONF));
|
1324
1455
|
#endif
|
1325
1456
|
#if defined(_SC_NPROCESSORS_ONLN)
|
1457
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1326
1458
|
rb_define_const(mod, "SC_NPROCESSORS_ONLN", INTEGER2NUM(_SC_NPROCESSORS_ONLN));
|
1327
1459
|
#endif
|
1328
1460
|
#if defined(_SC_CPUSET_SIZE)
|
1461
|
+
/* For Etc.sysconf; See <tt>man sysconf</tt> */
|
1329
1462
|
rb_define_const(mod, "SC_CPUSET_SIZE", INTEGER2NUM(_SC_CPUSET_SIZE));
|
1330
1463
|
#endif
|
1331
1464
|
#if defined(_CS_PATH)
|
1465
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1332
1466
|
rb_define_const(mod, "CS_PATH", INTEGER2NUM(_CS_PATH));
|
1333
1467
|
#endif
|
1334
1468
|
#if defined(_CS_POSIX_V7_ILP32_OFF32_CFLAGS)
|
1469
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1335
1470
|
rb_define_const(mod, "CS_POSIX_V7_ILP32_OFF32_CFLAGS", INTEGER2NUM(_CS_POSIX_V7_ILP32_OFF32_CFLAGS));
|
1336
1471
|
#endif
|
1337
1472
|
#if defined(_CS_POSIX_V7_ILP32_OFF32_LDFLAGS)
|
1473
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1338
1474
|
rb_define_const(mod, "CS_POSIX_V7_ILP32_OFF32_LDFLAGS", INTEGER2NUM(_CS_POSIX_V7_ILP32_OFF32_LDFLAGS));
|
1339
1475
|
#endif
|
1340
1476
|
#if defined(_CS_POSIX_V7_ILP32_OFF32_LIBS)
|
1477
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1341
1478
|
rb_define_const(mod, "CS_POSIX_V7_ILP32_OFF32_LIBS", INTEGER2NUM(_CS_POSIX_V7_ILP32_OFF32_LIBS));
|
1342
1479
|
#endif
|
1343
1480
|
#if defined(_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS)
|
1481
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1344
1482
|
rb_define_const(mod, "CS_POSIX_V7_ILP32_OFFBIG_CFLAGS", INTEGER2NUM(_CS_POSIX_V7_ILP32_OFFBIG_CFLAGS));
|
1345
1483
|
#endif
|
1346
1484
|
#if defined(_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS)
|
1485
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1347
1486
|
rb_define_const(mod, "CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS", INTEGER2NUM(_CS_POSIX_V7_ILP32_OFFBIG_LDFLAGS));
|
1348
1487
|
#endif
|
1349
1488
|
#if defined(_CS_POSIX_V7_ILP32_OFFBIG_LIBS)
|
1489
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1350
1490
|
rb_define_const(mod, "CS_POSIX_V7_ILP32_OFFBIG_LIBS", INTEGER2NUM(_CS_POSIX_V7_ILP32_OFFBIG_LIBS));
|
1351
1491
|
#endif
|
1352
1492
|
#if defined(_CS_POSIX_V7_LP64_OFF64_CFLAGS)
|
1493
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1353
1494
|
rb_define_const(mod, "CS_POSIX_V7_LP64_OFF64_CFLAGS", INTEGER2NUM(_CS_POSIX_V7_LP64_OFF64_CFLAGS));
|
1354
1495
|
#endif
|
1355
1496
|
#if defined(_CS_POSIX_V7_LP64_OFF64_LDFLAGS)
|
1497
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1356
1498
|
rb_define_const(mod, "CS_POSIX_V7_LP64_OFF64_LDFLAGS", INTEGER2NUM(_CS_POSIX_V7_LP64_OFF64_LDFLAGS));
|
1357
1499
|
#endif
|
1358
1500
|
#if defined(_CS_POSIX_V7_LP64_OFF64_LIBS)
|
1501
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1359
1502
|
rb_define_const(mod, "CS_POSIX_V7_LP64_OFF64_LIBS", INTEGER2NUM(_CS_POSIX_V7_LP64_OFF64_LIBS));
|
1360
1503
|
#endif
|
1361
1504
|
#if defined(_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS)
|
1505
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1362
1506
|
rb_define_const(mod, "CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS", INTEGER2NUM(_CS_POSIX_V7_LPBIG_OFFBIG_CFLAGS));
|
1363
1507
|
#endif
|
1364
1508
|
#if defined(_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS)
|
1509
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1365
1510
|
rb_define_const(mod, "CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS", INTEGER2NUM(_CS_POSIX_V7_LPBIG_OFFBIG_LDFLAGS));
|
1366
1511
|
#endif
|
1367
1512
|
#if defined(_CS_POSIX_V7_LPBIG_OFFBIG_LIBS)
|
1513
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1368
1514
|
rb_define_const(mod, "CS_POSIX_V7_LPBIG_OFFBIG_LIBS", INTEGER2NUM(_CS_POSIX_V7_LPBIG_OFFBIG_LIBS));
|
1369
1515
|
#endif
|
1370
1516
|
#if defined(_CS_POSIX_V7_THREADS_CFLAGS)
|
1517
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1371
1518
|
rb_define_const(mod, "CS_POSIX_V7_THREADS_CFLAGS", INTEGER2NUM(_CS_POSIX_V7_THREADS_CFLAGS));
|
1372
1519
|
#endif
|
1373
1520
|
#if defined(_CS_POSIX_V7_THREADS_LDFLAGS)
|
1521
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1374
1522
|
rb_define_const(mod, "CS_POSIX_V7_THREADS_LDFLAGS", INTEGER2NUM(_CS_POSIX_V7_THREADS_LDFLAGS));
|
1375
1523
|
#endif
|
1376
1524
|
#if defined(_CS_POSIX_V7_WIDTH_RESTRICTED_ENVS)
|
1525
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1377
1526
|
rb_define_const(mod, "CS_POSIX_V7_WIDTH_RESTRICTED_ENVS", INTEGER2NUM(_CS_POSIX_V7_WIDTH_RESTRICTED_ENVS));
|
1378
1527
|
#endif
|
1379
1528
|
#if defined(_CS_V7_ENV)
|
1529
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1380
1530
|
rb_define_const(mod, "CS_V7_ENV", INTEGER2NUM(_CS_V7_ENV));
|
1381
1531
|
#endif
|
1382
1532
|
#if defined(_CS_POSIX_V6_ILP32_OFF32_CFLAGS)
|
1533
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1383
1534
|
rb_define_const(mod, "CS_POSIX_V6_ILP32_OFF32_CFLAGS", INTEGER2NUM(_CS_POSIX_V6_ILP32_OFF32_CFLAGS));
|
1384
1535
|
#endif
|
1385
1536
|
#if defined(_CS_POSIX_V6_ILP32_OFF32_LDFLAGS)
|
1537
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1386
1538
|
rb_define_const(mod, "CS_POSIX_V6_ILP32_OFF32_LDFLAGS", INTEGER2NUM(_CS_POSIX_V6_ILP32_OFF32_LDFLAGS));
|
1387
1539
|
#endif
|
1388
1540
|
#if defined(_CS_POSIX_V6_ILP32_OFF32_LIBS)
|
1541
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1389
1542
|
rb_define_const(mod, "CS_POSIX_V6_ILP32_OFF32_LIBS", INTEGER2NUM(_CS_POSIX_V6_ILP32_OFF32_LIBS));
|
1390
1543
|
#endif
|
1391
1544
|
#if defined(_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS)
|
1545
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1392
1546
|
rb_define_const(mod, "CS_POSIX_V6_ILP32_OFFBIG_CFLAGS", INTEGER2NUM(_CS_POSIX_V6_ILP32_OFFBIG_CFLAGS));
|
1393
1547
|
#endif
|
1394
1548
|
#if defined(_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS)
|
1549
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1395
1550
|
rb_define_const(mod, "CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS", INTEGER2NUM(_CS_POSIX_V6_ILP32_OFFBIG_LDFLAGS));
|
1396
1551
|
#endif
|
1397
1552
|
#if defined(_CS_POSIX_V6_ILP32_OFFBIG_LIBS)
|
1553
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1398
1554
|
rb_define_const(mod, "CS_POSIX_V6_ILP32_OFFBIG_LIBS", INTEGER2NUM(_CS_POSIX_V6_ILP32_OFFBIG_LIBS));
|
1399
1555
|
#endif
|
1400
1556
|
#if defined(_CS_POSIX_V6_LP64_OFF64_CFLAGS)
|
1557
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1401
1558
|
rb_define_const(mod, "CS_POSIX_V6_LP64_OFF64_CFLAGS", INTEGER2NUM(_CS_POSIX_V6_LP64_OFF64_CFLAGS));
|
1402
1559
|
#endif
|
1403
1560
|
#if defined(_CS_POSIX_V6_LP64_OFF64_LDFLAGS)
|
1561
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1404
1562
|
rb_define_const(mod, "CS_POSIX_V6_LP64_OFF64_LDFLAGS", INTEGER2NUM(_CS_POSIX_V6_LP64_OFF64_LDFLAGS));
|
1405
1563
|
#endif
|
1406
1564
|
#if defined(_CS_POSIX_V6_LP64_OFF64_LIBS)
|
1565
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1407
1566
|
rb_define_const(mod, "CS_POSIX_V6_LP64_OFF64_LIBS", INTEGER2NUM(_CS_POSIX_V6_LP64_OFF64_LIBS));
|
1408
1567
|
#endif
|
1409
1568
|
#if defined(_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS)
|
1569
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1410
1570
|
rb_define_const(mod, "CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS", INTEGER2NUM(_CS_POSIX_V6_LPBIG_OFFBIG_CFLAGS));
|
1411
1571
|
#endif
|
1412
1572
|
#if defined(_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS)
|
1573
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1413
1574
|
rb_define_const(mod, "CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS", INTEGER2NUM(_CS_POSIX_V6_LPBIG_OFFBIG_LDFLAGS));
|
1414
1575
|
#endif
|
1415
1576
|
#if defined(_CS_POSIX_V6_LPBIG_OFFBIG_LIBS)
|
1577
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1416
1578
|
rb_define_const(mod, "CS_POSIX_V6_LPBIG_OFFBIG_LIBS", INTEGER2NUM(_CS_POSIX_V6_LPBIG_OFFBIG_LIBS));
|
1417
1579
|
#endif
|
1418
1580
|
#if defined(_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS)
|
1581
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1419
1582
|
rb_define_const(mod, "CS_POSIX_V6_WIDTH_RESTRICTED_ENVS", INTEGER2NUM(_CS_POSIX_V6_WIDTH_RESTRICTED_ENVS));
|
1420
1583
|
#endif
|
1421
1584
|
#if defined(_CS_V6_ENV)
|
1585
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1422
1586
|
rb_define_const(mod, "CS_V6_ENV", INTEGER2NUM(_CS_V6_ENV));
|
1423
1587
|
#endif
|
1424
1588
|
#if defined(_CS_GNU_LIBC_VERSION)
|
1589
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1425
1590
|
rb_define_const(mod, "CS_GNU_LIBC_VERSION", INTEGER2NUM(_CS_GNU_LIBC_VERSION));
|
1426
1591
|
#endif
|
1427
1592
|
#if defined(_CS_GNU_LIBPTHREAD_VERSION)
|
1593
|
+
/* For Etc.confstr; See <tt>man constr</tt> */
|
1428
1594
|
rb_define_const(mod, "CS_GNU_LIBPTHREAD_VERSION", INTEGER2NUM(_CS_GNU_LIBPTHREAD_VERSION));
|
1429
1595
|
#endif
|
1430
1596
|
#if defined(_PC_FILESIZEBITS)
|
1597
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1431
1598
|
rb_define_const(mod, "PC_FILESIZEBITS", INTEGER2NUM(_PC_FILESIZEBITS));
|
1432
1599
|
#endif
|
1433
1600
|
#if defined(_PC_LINK_MAX)
|
1601
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1434
1602
|
rb_define_const(mod, "PC_LINK_MAX", INTEGER2NUM(_PC_LINK_MAX));
|
1435
1603
|
#endif
|
1436
1604
|
#if defined(_PC_MAX_CANON)
|
1605
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1437
1606
|
rb_define_const(mod, "PC_MAX_CANON", INTEGER2NUM(_PC_MAX_CANON));
|
1438
1607
|
#endif
|
1439
1608
|
#if defined(_PC_MAX_INPUT)
|
1609
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1440
1610
|
rb_define_const(mod, "PC_MAX_INPUT", INTEGER2NUM(_PC_MAX_INPUT));
|
1441
1611
|
#endif
|
1442
1612
|
#if defined(_PC_NAME_MAX)
|
1613
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1443
1614
|
rb_define_const(mod, "PC_NAME_MAX", INTEGER2NUM(_PC_NAME_MAX));
|
1444
1615
|
#endif
|
1445
1616
|
#if defined(_PC_PATH_MAX)
|
1617
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1446
1618
|
rb_define_const(mod, "PC_PATH_MAX", INTEGER2NUM(_PC_PATH_MAX));
|
1447
1619
|
#endif
|
1448
1620
|
#if defined(_PC_PIPE_BUF)
|
1621
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1449
1622
|
rb_define_const(mod, "PC_PIPE_BUF", INTEGER2NUM(_PC_PIPE_BUF));
|
1450
1623
|
#endif
|
1451
1624
|
#if defined(_PC_2_SYMLINKS)
|
1625
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1452
1626
|
rb_define_const(mod, "PC_2_SYMLINKS", INTEGER2NUM(_PC_2_SYMLINKS));
|
1453
1627
|
#endif
|
1454
1628
|
#if defined(_PC_ALLOC_SIZE_MIN)
|
1629
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1455
1630
|
rb_define_const(mod, "PC_ALLOC_SIZE_MIN", INTEGER2NUM(_PC_ALLOC_SIZE_MIN));
|
1456
1631
|
#endif
|
1457
1632
|
#if defined(_PC_REC_INCR_XFER_SIZE)
|
1633
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1458
1634
|
rb_define_const(mod, "PC_REC_INCR_XFER_SIZE", INTEGER2NUM(_PC_REC_INCR_XFER_SIZE));
|
1459
1635
|
#endif
|
1460
1636
|
#if defined(_PC_REC_MAX_XFER_SIZE)
|
1637
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1461
1638
|
rb_define_const(mod, "PC_REC_MAX_XFER_SIZE", INTEGER2NUM(_PC_REC_MAX_XFER_SIZE));
|
1462
1639
|
#endif
|
1463
1640
|
#if defined(_PC_REC_MIN_XFER_SIZE)
|
1641
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1464
1642
|
rb_define_const(mod, "PC_REC_MIN_XFER_SIZE", INTEGER2NUM(_PC_REC_MIN_XFER_SIZE));
|
1465
1643
|
#endif
|
1466
1644
|
#if defined(_PC_REC_XFER_ALIGN)
|
1645
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1467
1646
|
rb_define_const(mod, "PC_REC_XFER_ALIGN", INTEGER2NUM(_PC_REC_XFER_ALIGN));
|
1468
1647
|
#endif
|
1469
1648
|
#if defined(_PC_SYMLINK_MAX)
|
1649
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1470
1650
|
rb_define_const(mod, "PC_SYMLINK_MAX", INTEGER2NUM(_PC_SYMLINK_MAX));
|
1471
1651
|
#endif
|
1472
1652
|
#if defined(_PC_CHOWN_RESTRICTED)
|
1653
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1473
1654
|
rb_define_const(mod, "PC_CHOWN_RESTRICTED", INTEGER2NUM(_PC_CHOWN_RESTRICTED));
|
1474
1655
|
#endif
|
1475
1656
|
#if defined(_PC_NO_TRUNC)
|
1657
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1476
1658
|
rb_define_const(mod, "PC_NO_TRUNC", INTEGER2NUM(_PC_NO_TRUNC));
|
1477
1659
|
#endif
|
1478
1660
|
#if defined(_PC_VDISABLE)
|
1661
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1479
1662
|
rb_define_const(mod, "PC_VDISABLE", INTEGER2NUM(_PC_VDISABLE));
|
1480
1663
|
#endif
|
1481
1664
|
#if defined(_PC_ASYNC_IO)
|
1665
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1482
1666
|
rb_define_const(mod, "PC_ASYNC_IO", INTEGER2NUM(_PC_ASYNC_IO));
|
1483
1667
|
#endif
|
1484
1668
|
#if defined(_PC_PRIO_IO)
|
1669
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1485
1670
|
rb_define_const(mod, "PC_PRIO_IO", INTEGER2NUM(_PC_PRIO_IO));
|
1486
1671
|
#endif
|
1487
1672
|
#if defined(_PC_SYNC_IO)
|
1673
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1488
1674
|
rb_define_const(mod, "PC_SYNC_IO", INTEGER2NUM(_PC_SYNC_IO));
|
1489
1675
|
#endif
|
1490
1676
|
#if defined(_PC_TIMESTAMP_RESOLUTION)
|
1677
|
+
/* For IO#pathconf; See <tt>man fpathconf</tt> */
|
1491
1678
|
rb_define_const(mod, "PC_TIMESTAMP_RESOLUTION", INTEGER2NUM(_PC_TIMESTAMP_RESOLUTION));
|
1492
1679
|
#endif
|
1493
1680
|
|