2015-11-15から1日間の記事一覧
もうやだ。とりあえずクソみたいなソースコードを。 #include <stdio.h> #include <stdlib.h> #include <unistd.h> #include <err.h> #include <errno.h> #include <fcntl.h> #include <sys/types.h> #include <sys/wait.h> #include <sys/mman.h> #define FILE_MODE (S_IRUSR|S_IWUSR|S_IRGRP|S_IROTH) void child(void); int main() { int *test_n…</sys/mman.h></sys/wait.h></sys/types.h></fcntl.h></errno.h></err.h></unistd.h></stdlib.h></stdio.h>