| ... | ... | @@ -925,14 +925,458 @@ pub const errno = struct { |
| 925 | 925 | }; |
| 926 | 926 | |
| 927 | 927 | pub const libc = struct { |
| 928 | /// void _Exit(int status); |
| 929 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/_Exit.html |
| 930 | pub extern fn _Exit(status: c_int) noreturn; |
| 931 | |
| 932 | /// void _exit(int status); |
| 933 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/_exit.html |
| 934 | pub extern fn _exit(status: c_int) noreturn; |
| 935 | |
| 936 | /// long a64l(const char *s); |
| 937 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/a64l.html |
| 938 | pub extern fn a64l(s: [*]const u8) c_long; |
| 939 | |
| 940 | /// void abort(void); |
| 941 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/abort.html |
| 942 | pub extern fn abort() void; |
| 943 | |
| 944 | /// int abs(int i); |
| 945 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/abs.html |
| 946 | pub extern fn abs(i: c_int) c_int; |
| 947 | |
| 948 | /// int accept(int socket, struct sockaddr *restrict address, socklen_t *restrict address_len); |
| 949 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/accept.html |
| 950 | pub extern fn accept(socket: c_int, noalias address: ?*struct_sockaddr, noalias address_len: *socklen_t) c_int; |
| 951 | |
| 952 | /// int access(const char *path, int amode); |
| 953 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/access.html |
| 954 | pub extern fn access(path: [*:0]const u8, amode: c_int) c_int; |
| 955 | |
| 956 | /// double acos(double x); |
| 957 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/acos.html |
| 958 | pub extern fn acos(x: f64) f64; |
| 959 | |
| 960 | /// float acosf(float x); |
| 961 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/acosf.html |
| 962 | pub extern fn acosf(x: f32) f32; |
| 963 | |
| 964 | /// double acosh(double x); |
| 965 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/acosh.html |
| 966 | pub extern fn acosh(x: f64) f64; |
| 967 | |
| 968 | /// float acoshf(float x); |
| 969 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/acoshf.html |
| 970 | pub extern fn acoshf(x: f32) f32; |
| 971 | |
| 972 | /// long double acoshl(long double x); |
| 973 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/acoshl.html |
| 974 | pub extern fn acoshl(x: c_longdouble) c_longdouble; |
| 975 | |
| 976 | /// long double acosl(long double x); |
| 977 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/acosl.html |
| 978 | pub extern fn acosl(x: c_longdouble) c_longdouble; |
| 979 | |
| 980 | /// double asin(double x); |
| 981 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/asin.html |
| 982 | pub extern fn asin(x: f64) f64; |
| 983 | |
| 984 | /// float asinf(float x); |
| 985 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/asinf.html |
| 986 | pub extern fn asinf(x: f32) f32; |
| 987 | |
| 988 | /// double asinh(double x); |
| 989 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/asinh.html |
| 990 | pub extern fn asinh(x: f64) f64; |
| 991 | |
| 992 | /// float asinhf(float x); |
| 993 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/asinhf.html |
| 994 | pub extern fn asinhf(x: f32) f32; |
| 995 | |
| 996 | /// long double asinhl(long double x); |
| 997 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/asinhl.html |
| 998 | pub extern fn asinhl(x: c_longdouble) c_longdouble; |
| 999 | |
| 1000 | /// long double asinl(long double x); |
| 1001 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/asinl.html |
| 1002 | pub extern fn asinl(x: c_longdouble) c_longdouble; |
| 1003 | |
| 1004 | /// double atan(double x); |
| 1005 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/atan.html |
| 1006 | pub extern fn atan(x: f64) f64; |
| 1007 | |
| 1008 | /// double atan2(double y, double x); |
| 1009 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/atan2.html |
| 1010 | pub extern fn atan2(y: f64, x: f64) f64; |
| 1011 | |
| 1012 | /// float atan2f(float y, float x); |
| 1013 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/atan2f.html |
| 1014 | pub extern fn atan2f(y: f32, x: f32) f32; |
| 1015 | |
| 1016 | /// long double atan2l(long double y, long double x); |
| 1017 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/atan2l.html |
| 1018 | pub extern fn atan2l(y: c_longdouble, x: c_longdouble) c_longdouble; |
| 1019 | |
| 1020 | /// float atanf(float x); |
| 1021 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/atanf.html |
| 1022 | pub extern fn atanf(x: f32) f32; |
| 1023 | |
| 1024 | /// double atanh(double x); |
| 1025 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/atanh.html |
| 1026 | pub extern fn atanh(x: f64) f64; |
| 1027 | |
| 1028 | /// float atanhf(float x); |
| 1029 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/atanhf.html |
| 1030 | pub extern fn atanhf(x: f32) f32; |
| 1031 | |
| 1032 | /// long double atanhl(long double x); |
| 1033 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/atanhl.html |
| 1034 | pub extern fn atanhl(x: c_longdouble) c_longdouble; |
| 1035 | |
| 1036 | /// long double atanl(long double x); |
| 1037 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/atanl.html |
| 1038 | pub extern fn atanl(x: c_longdouble) c_longdouble; |
| 1039 | |
| 1040 | /// double cbrt(double x); |
| 1041 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/cbrt.html |
| 1042 | pub extern fn cbrt(x: f64) f64; |
| 1043 | |
| 1044 | /// float cbrtf(float x); |
| 1045 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/cbrtf.html |
| 1046 | pub extern fn cbrtf(x: f32) f32; |
| 1047 | |
| 1048 | /// long double cbrtl(long double x); |
| 1049 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/cbrtl.html |
| 1050 | pub extern fn cbrtl(x: c_longdouble) c_longdouble; |
| 1051 | |
| 1052 | /// double ceil(double x); |
| 1053 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/ceil.html |
| 1054 | pub extern fn ceil(x: f64) f64; |
| 1055 | |
| 1056 | /// float ceilf(float x); |
| 1057 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/ceilf.html |
| 1058 | pub extern fn ceilf(x: f32) f32; |
| 1059 | |
| 1060 | /// long double ceill(long double x); |
| 1061 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/ceill.html |
| 1062 | pub extern fn ceill(x: c_longdouble) c_longdouble; |
| 1063 | |
| 1064 | /// clock_t clock(void); |
| 1065 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/clock.html |
| 1066 | pub extern fn clock() clock_t; |
| 1067 | |
| 928 | 1068 | /// int close(int fildes); |
| 929 | 1069 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/close.html |
| 930 | 1070 | pub extern fn close(fildes: c_int) c_int; |
| 931 | 1071 | |
| 1072 | /// void closelog(void); |
| 1073 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/closelog.html |
| 1074 | pub extern fn closelog() void; |
| 1075 | |
| 1076 | /// double copysign(double x, double y); |
| 1077 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/copysign.html |
| 1078 | pub extern fn copysign(x: f64, y: f64) f64; |
| 1079 | |
| 1080 | /// float copysignf(float x, float y); |
| 1081 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/copysignf.html |
| 1082 | pub extern fn copysignf(x: f32, y: f32) f32; |
| 1083 | |
| 1084 | /// long double copysignl(long double x, long double y); |
| 1085 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/copysignl.html |
| 1086 | pub extern fn copysignl(x: c_longdouble, y: c_longdouble) c_longdouble; |
| 1087 | |
| 1088 | /// double cos(double x); |
| 1089 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/cos.html |
| 1090 | pub extern fn cos(x: f64) f64; |
| 1091 | |
| 1092 | /// float cosf(float x); |
| 1093 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/cosf.html |
| 1094 | pub extern fn cosf(x: f32) f32; |
| 1095 | |
| 1096 | /// double cosh(double x); |
| 1097 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/cosh.html |
| 1098 | pub extern fn cosh(x: f64) f64; |
| 1099 | |
| 1100 | /// float coshf(float x); |
| 1101 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/coshf.html |
| 1102 | pub extern fn coshf(x: f32) f32; |
| 1103 | |
| 1104 | /// long double coshl(long double x); |
| 1105 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/coshl.html |
| 1106 | pub extern fn coshl(x: c_longdouble) c_longdouble; |
| 1107 | |
| 1108 | /// long double cosl(long double x); |
| 1109 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/cosl.html |
| 1110 | pub extern fn cosl(x: c_longdouble) c_longdouble; |
| 1111 | |
| 1112 | /// div_t div(int numer, int denom); |
| 1113 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/div.html |
| 1114 | pub extern fn div(numer: c_int, denom: c_int) div_t; |
| 1115 | |
| 1116 | /// double drand48(void); |
| 1117 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/drand48.html |
| 1118 | pub extern fn drand48() f64; |
| 1119 | |
| 1120 | /// int dup(int fildes); |
| 1121 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/dup.html |
| 1122 | pub extern fn dup(fildes: c_int) c_int; |
| 1123 | |
| 1124 | /// int dup2(int fildes, int fildes2); |
| 1125 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/dup2.html |
| 1126 | pub extern fn dup2(fildes: c_int, fildes2: c_int) c_int; |
| 1127 | |
| 1128 | /// void endgrent(void); |
| 1129 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/endgrent.html |
| 1130 | pub extern fn endgrent() void; |
| 1131 | |
| 1132 | /// void endhostent(void); |
| 1133 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/endhostent.html |
| 1134 | pub extern fn endhostent() void; |
| 1135 | |
| 1136 | /// void endnetent(void); |
| 1137 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/endnetent.html |
| 1138 | pub extern fn endnetent() void; |
| 1139 | |
| 1140 | /// void endprotoent(void); |
| 1141 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/endprotoent.html |
| 1142 | pub extern fn endprotoent() void; |
| 1143 | |
| 1144 | /// void endpwent(void); |
| 1145 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/endpwent.html |
| 1146 | pub extern fn endpwent() void; |
| 1147 | |
| 1148 | /// void endservent(void); |
| 1149 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/endservent.html |
| 1150 | pub extern fn endservent() void; |
| 1151 | |
| 1152 | /// void endutxent(void); |
| 1153 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/endutxent.html |
| 1154 | pub extern fn endutxent() void; |
| 1155 | |
| 1156 | /// double erf(double x); |
| 1157 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/erf.html |
| 1158 | pub extern fn erf(x: f64) f64; |
| 1159 | |
| 1160 | /// double erfc(double x); |
| 1161 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/erfc.html |
| 1162 | pub extern fn erfc(x: f64) f64; |
| 1163 | |
| 1164 | /// float erfcf(float x); |
| 1165 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/erfcf.html |
| 1166 | pub extern fn erfcf(x: f32) f32; |
| 1167 | |
| 1168 | /// long double erfcl(long double x); |
| 1169 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/erfcl.html |
| 1170 | pub extern fn erfcl(x: c_longdouble) c_longdouble; |
| 1171 | |
| 1172 | /// float erff(float x); |
| 1173 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/erff.html |
| 1174 | pub extern fn erff(x: f32) f32; |
| 1175 | |
| 1176 | /// long double erfl(long double x); |
| 1177 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/erfl.html |
| 1178 | pub extern fn erfl(x: c_longdouble) c_longdouble; |
| 1179 | |
| 932 | 1180 | /// void exit(int status); |
| 933 | 1181 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/exit.html |
| 934 | 1182 | pub extern fn exit(status: c_int) noreturn; |
| 935 | 1183 | |
| 1184 | /// double exp(double x); |
| 1185 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/exp.html |
| 1186 | pub extern fn exp(x: f64) f64; |
| 1187 | |
| 1188 | /// double exp2(double x); |
| 1189 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/exp2.html |
| 1190 | pub extern fn exp2(x: f64) f64; |
| 1191 | |
| 1192 | /// float exp2f(float x); |
| 1193 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/exp2f.html |
| 1194 | pub extern fn exp2f(x: f32) f32; |
| 1195 | |
| 1196 | /// long double exp2l(long double x); |
| 1197 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/exp2l.html |
| 1198 | pub extern fn exp2l(x: c_longdouble) c_longdouble; |
| 1199 | |
| 1200 | /// float expf(float x); |
| 1201 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/expf.html |
| 1202 | pub extern fn expf(x: f32) f32; |
| 1203 | |
| 1204 | /// long double expl(long double x); |
| 1205 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/expl.html |
| 1206 | pub extern fn expl(x: c_longdouble) c_longdouble; |
| 1207 | |
| 1208 | /// double expm1(double x); |
| 1209 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/expm1.html |
| 1210 | pub extern fn expm1(x: f64) f64; |
| 1211 | |
| 1212 | /// float expm1f(float x); |
| 1213 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/expm1f.html |
| 1214 | pub extern fn expm1f(x: f32) f32; |
| 1215 | |
| 1216 | /// long double expm1l(long double x); |
| 1217 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/expm1l.html |
| 1218 | pub extern fn expm1l(x: c_longdouble) c_longdouble; |
| 1219 | |
| 1220 | /// double fabs(double x); |
| 1221 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fabs.html |
| 1222 | pub extern fn fabs(x: f64) f64; |
| 1223 | |
| 1224 | /// float fabsf(float x); |
| 1225 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fabsf.html |
| 1226 | pub extern fn fabsf(x: f32) f32; |
| 1227 | |
| 1228 | /// long double fabsl(long double x); |
| 1229 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fabsl.html |
| 1230 | pub extern fn fabsl(x: c_longdouble) c_longdouble; |
| 1231 | |
| 1232 | /// int fchdir(int fildes); |
| 1233 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fchdir.html |
| 1234 | pub extern fn fchdir(fildes: c_int) c_int; |
| 1235 | |
| 1236 | /// int fchmod(int fildes, mode_t mode); |
| 1237 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fchmod.html |
| 1238 | pub extern fn fchmod(fildes: c_int, mode: mode_t) c_int; |
| 1239 | |
| 1240 | /// int fchown(int fildes, uid_t owner, gid_t group); |
| 1241 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fchown.html |
| 1242 | pub extern fn fchown(fildes: c_int, owner: uid_t, group: gid_t) c_int; |
| 1243 | |
| 1244 | /// int fdatasync(int fildes); |
| 1245 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fdatasync.html |
| 1246 | pub extern fn fdatasync(fildes: c_int) c_int; |
| 1247 | |
| 1248 | /// double fdim(double x, double y); |
| 1249 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fdim.html |
| 1250 | pub extern fn fdim(x: f64, y: f64) f64; |
| 1251 | |
| 1252 | /// float fdimf(float x, float y); |
| 1253 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fdimf.html |
| 1254 | pub extern fn fdimf(x: f32, y: f32) f32; |
| 1255 | |
| 1256 | /// long double fdiml(long double x, long double y); |
| 1257 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fdiml.html |
| 1258 | pub extern fn fdiml(x: c_longdouble, y: c_longdouble) c_longdouble; |
| 1259 | |
| 1260 | /// int fegetround(void); |
| 1261 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fegetround.html |
| 1262 | pub extern fn fegetround() c_int; |
| 1263 | |
| 1264 | /// int fesetround(int round); |
| 1265 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fesetround.html |
| 1266 | pub extern fn fesetround(round: c_int) c_int; |
| 1267 | |
| 1268 | /// int fetestexcept(int excepts); |
| 1269 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fetestexcept.html |
| 1270 | pub extern fn fetestexcept(excepts: c_int) c_int; |
| 1271 | |
| 1272 | /// int ffs(int i); |
| 1273 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/ffs.html |
| 1274 | pub extern fn ffs(i: c_int) c_int; |
| 1275 | |
| 1276 | /// double floor(double x); |
| 1277 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/floor.html |
| 1278 | pub extern fn floor(x: f64) f64; |
| 1279 | |
| 1280 | /// float floorf(float x); |
| 1281 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/floorf.html |
| 1282 | pub extern fn floorf(x: f32) f32; |
| 1283 | |
| 1284 | /// long double floorl(long double x); |
| 1285 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/floorl.html |
| 1286 | pub extern fn floorl(x: c_longdouble) c_longdouble; |
| 1287 | |
| 1288 | /// double fmax(double x, double y); |
| 1289 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fmax.html |
| 1290 | pub extern fn fmax(x: f64, y: f64) f64; |
| 1291 | |
| 1292 | /// float fmaxf(float x, float y); |
| 1293 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fmaxf.html |
| 1294 | pub extern fn fmaxf(x: f32, y: f32) f32; |
| 1295 | |
| 1296 | /// long double fmaxl(long double x, long double y); |
| 1297 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fmaxl.html |
| 1298 | pub extern fn fmaxl(x: c_longdouble, y: c_longdouble) c_longdouble; |
| 1299 | |
| 1300 | /// double fmin(double x, double y); |
| 1301 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fmin.html |
| 1302 | pub extern fn fmin(x: f64, y: f64) f64; |
| 1303 | |
| 1304 | /// float fminf(float x, float y); |
| 1305 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fminf.html |
| 1306 | pub extern fn fminf(x: f32, y: f32) f32; |
| 1307 | |
| 1308 | /// long double fminl(long double x, long double y); |
| 1309 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fminl.html |
| 1310 | pub extern fn fminl(x: c_longdouble, y: c_longdouble) c_longdouble; |
| 1311 | |
| 1312 | /// double fmod(double x, double y); |
| 1313 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fmod.html |
| 1314 | pub extern fn fmod(x: f64, y: f64) f64; |
| 1315 | |
| 1316 | /// float fmodf(float x, float y); |
| 1317 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fmodf.html |
| 1318 | pub extern fn fmodf(x: f32, y: f32) f32; |
| 1319 | |
| 1320 | /// long double fmodl(long double x, long double y); |
| 1321 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fmodl.html |
| 1322 | pub extern fn fmodl(x: c_longdouble, y: c_longdouble) c_longdouble; |
| 1323 | |
| 1324 | /// pid_t fork(void); |
| 1325 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fork.html |
| 1326 | pub extern fn fork() pid_t; |
| 1327 | |
| 1328 | /// long fpathconf(int fildes, int name); |
| 1329 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/fpathconf.html |
| 1330 | pub extern fn fpathconf(fildes: c_int, name: c_int) c_long; |
| 1331 | |
| 1332 | /// int getchar(void); |
| 1333 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/getchar.html |
| 1334 | pub extern fn getchar() c_int; |
| 1335 | |
| 1336 | /// int getchar_unlocked(void); |
| 1337 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/getchar_unlocked.html |
| 1338 | pub extern fn getchar_unlocked() c_int; |
| 1339 | |
| 1340 | /// gid_t getegid(void); |
| 1341 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/getegid.html |
| 1342 | pub extern fn getegid() gid_t; |
| 1343 | |
| 1344 | /// uid_t geteuid(void); |
| 1345 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/geteuid.html |
| 1346 | pub extern fn geteuid() uid_t; |
| 1347 | |
| 1348 | /// gid_t getgid(void); |
| 1349 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/getgid.html |
| 1350 | pub extern fn getgid() gid_t; |
| 1351 | |
| 1352 | /// long gethostid(void); |
| 1353 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/gethostid.html |
| 1354 | pub extern fn gethostid() c_long; |
| 1355 | |
| 1356 | /// pid_t getpgid(pid_t pid); |
| 1357 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/getpgid.html |
| 1358 | pub extern fn getpgid(pid: pid_t) pid_t; |
| 1359 | |
| 1360 | /// pid_t getpgrp(void); |
| 1361 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/getpgrp.html |
| 1362 | pub extern fn getpgrp() pid_t; |
| 1363 | |
| 1364 | /// pid_t getpid(void); |
| 1365 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/getpid.html |
| 1366 | pub extern fn getpid() pid_t; |
| 1367 | |
| 1368 | /// pid_t getppid(void); |
| 1369 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/getppid.html |
| 1370 | pub extern fn getppid() pid_t; |
| 1371 | |
| 1372 | /// uid_t getuid(void); |
| 1373 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/getuid.html |
| 1374 | pub extern fn getuid() uid_t; |
| 1375 | |
| 1376 | /// wint_t getwchar(void); |
| 1377 | /// https://pubs.opengroup.org/onlinepubs/9699919799.orig/functions/getwchar.html |
| 1378 | pub extern fn getwchar() wint_t; |
| 1379 | |
| 936 | 1380 | |
| 937 | 1381 | |
| 938 | 1382 | |