Linuxä¸ã®ã¨ãããã¡ã¤ã«ããã¼ã¸ãã£ãã·ã¥ã«ä¹ã£ã¦ãããã©ããã調ã¹ãããªã¼ã¨æã£ã¦Googleå çã«ãç¸è«ããã¨ããããããªã³ãã³ããæãã¦ãããã ãã¡ã¤ã«ãã¡ã¢ãªã«ããããã¦ãmincore(2)ã§ãã¼ã¸ãã¨ã«RAMã«åå¨ãããã©ããããã§ãã¯ãã¦ãããããã mmapãã¦ãå³ã¡ã¢ãªã«ãã¼ããããããã§ã¯ãªãã®ããã Cã®é¨åã ãæãåºãã¦ãåä½ã§åããã¦ã¿ãã #include <errno.h> /* errno */ #include <fcntl.h> /* fcntl, open */ #include <stdio.h> /* perror, fprintf, stderr, printf */ #include <stdlib.h> /* exit, calloc, free */ #include <string.h> /* strerror */ #includ
{{#tags}}- {{label}}
{{/tags}}