gmake -j(数字の指定なし)って、とにかく突っ込めるだけジョブ突っ込んでよって意味なのか…
OpenBSD(uaa@), Ham(JG1UAA), Ingress(Lv14, RES), Japanese(Sagamihara-city, Kanagawa)
Another side: https://social.tchncs.de/@uaa
npub1rarr265r9f9j6ewp960hcm7cvz9zskc7l2ykwul57e7xa60r8css7uf890
Messages from this Mastodon account can read via mostr.pub with npub1j3un8843rpuk4rvwnd7plaknf2lce58yl6qmpkqrwt3tr5k60vfqxmlq0w
日 | 月 | 火 | 水 | 木 | 金 | 土 | |
1 | 2 | 3 | |||||
5 | 6 | 7 | 8 | 9 | 10 | ||
11 | 12 | 13 | 14 | 15 | 16 | 17 | |
18 | 19 | 20 | 21 | 22 | 23 | 24 | |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
gmake -j(数字の指定なし)って、とにかく突っ込めるだけジョブ突っ込んでよって意味なのか…
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#define MAX_ARGS 16
int main(int argc, char *argv[])
{
int i, fds[MAX_ARGS];
memset(fds, ~0, sizeof(fds));
for (i = 1; i < argc && i < MAX_ARGS; i++) {
fds[i] = open(argv[i], O_RDONLY);
if (fds[i] >= 0) printf("%d\n", fds[i]);
}
for (i = 1; i < argc && i < MAX_ARGS; i++)
if (fds[i] >= 0) close(fds[i]);
return 0;
}