{"width":"100%","image_url":null,"author_url":"https://blog.hatena.ne.jp/iww/","provider_name":"Hatena Blog","blog_url":"https://iww.hateblo.jp/","height":"190","blog_title":"\u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12","description":"\u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u898f\u4f5c\u6210\u3059\u308b\u3068\u304d\u3001\u4eee\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u66f8\u304d\u304d\u3063\u3066\u304b\u3089\u30ea\u30cd\u30fc\u30e0\u3059\u308b\u3068\u3001 \u66f8\u3044\u3066\u308b\u9014\u4e2d\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u300c\u304a\u3001\u3042\u308b\u3042\u308b\u300d\u3068\u304b\u8a00\u3063\u3066\u8aad\u307e\u308c\u306a\u3044\u306e\u3067\u6bd4\u8f03\u7684\u5b89\u5168 #include <stdio.h> #include <stdlib.h> // mkstemp #include <unistd.h> // write int main() { // \u4eee\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u672c\u6587\u3092\u66f8\u304f char tmpname[] = \"/tmp/unko_XXXXXX\"; int fd = mkstemp(tmpname); write(fd, \"hello\\n\", 6); close(fd); // \u76ee\u7684\u306e\u30d5\u30a1\u30a4\u30eb\u540d\u306b\u30ea\u2026","type":"rich","title":" \u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u898f\u4f5c\u6210\u3059\u308b\u3068\u304d\u3001\u4eee\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u66f8\u304d\u304d\u3063\u3066\u304b\u3089\u30ea\u30cd\u30fc\u30e0\u3059\u308b","version":"1.0","published":"2022-05-23 17:43:48","url":"https://iww.hateblo.jp/entry/2022/05/23/174348","categories":["C","Linux"],"author_name":"iww","provider_url":"https://hatena.blog","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F2022%2F05%2F23%2F174348\" title=\" \u30d5\u30a1\u30a4\u30eb\u3092\u65b0\u898f\u4f5c\u6210\u3059\u308b\u3068\u304d\u3001\u4eee\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u3063\u3066\u66f8\u304d\u304d\u3063\u3066\u304b\u3089\u30ea\u30cd\u30fc\u30e0\u3059\u308b - \u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>"}