{"image_url":null,"title":"C\u3067non-blocking IO","author_name":"mFumi","height":"190","type":"rich","published":"2010-10-02 16:15:38","categories":["C","\u3081\u3082"],"url":"https://mfumi.hatenadiary.org/entry/20101002/1286003738","description":"\u3053\u3093\u306a\u611f\u3058\u306b\u3059\u308c\u3070\u3067\u304d\u308b\u3089\u3057\u3044\u3002 #include <stdio.h> #include <termios.h> #include <fcntl.h> #include <time.h> int main(int argc, char const* argv[]) { struct termios save_settings; struct termios settings; char c; tcgetattr(0,&save_settings); settings = save_settings; settings.c_lflag &= ~(ECHO|ICANON); /* \u5165\u529b\u3092\u30a8\u30b3\u30fc\u30d0\u30c3\u2026","author_url":"https://blog.hatena.ne.jp/mFumi/","provider_url":"https://hatena.blog","blog_title":"mfumi\u306e\u65e5\u8a18","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmfumi.hatenadiary.org%2Fentry%2F20101002%2F1286003738\" title=\"C\u3067non-blocking IO - mfumi\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","width":"100%","blog_url":"https://mfumi.hatenadiary.org/","provider_name":"Hatena Blog"}