{"id":83773,"date":"2024-03-21T03:20:26","date_gmt":"2024-03-20T18:20:26","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%a7settimer%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e3%82%92%e6%95%99%e3%81%88%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84%e3%80%82\/"},"modified":"2024-03-27T10:21:53","modified_gmt":"2024-03-27T01:21:53","slug":"c%e8%a8%80%e8%aa%9e%e3%81%a7settimer%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e3%82%92%e6%95%99%e3%81%88%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84%e3%80%82","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%a7settimer%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e3%82%92%e6%95%99%e3%81%88%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84%e3%80%82\/","title":{"rendered":"C\u8a00\u8a9e\u3067settimer\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002"},"content":{"rendered":"<p>C\u8a00\u8a9e\u3067\u306f\u3001setitimer\u95a2\u6570\u306f\u30bf\u30a4\u30de\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u7279\u5b9a\u306e\u6642\u9593\u9593\u9694\u3067\u30b7\u30b0\u30ca\u30eb\u3092\u30c8\u30ea\u30ac\u30fc\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u95a2\u6570\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-type\">int<\/span> <span class=\"hljs-title function_\">setitimer<\/span><span class=\"hljs-params\">(<span class=\"hljs-type\">int<\/span> which, <span class=\"hljs-type\">const<\/span> <span class=\"hljs-keyword\">struct<\/span> itimerval *new_value, <span class=\"hljs-keyword\">struct<\/span> itimerval *old_value)<\/span>;\r\n<\/code><\/pre>\n<p>\u30d1\u30e9\u30e1\u30fc\u30bf\u30fc\u306e\u8aac\u660e:<\/p>\n<ol>\n<li>\u30bf\u30a4\u30de\u30fc\u306e\u7a2e\u985e\u3092\u6307\u5b9a\u3057\u3001ITIMER_REAL\u3001ITIMER_VIRTUAL\u3001ITIMER_PROF \u306e\u3044\u305a\u308c\u304b\u306e\u5024\u3092\u53d6\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u305d\u308c\u305e\u308c\u3001\u30ea\u30a2\u30eb\u30bf\u30a4\u30e0\u30bf\u30a4\u30de\u30fc\u3001\u4eee\u60f3\u30bf\u30a4\u30e0\u30bf\u30a4\u30de\u30fc\u3001CPU \u6642\u9593\u30bf\u30a4\u30de\u30fc\u3092\u8868\u3057\u307e\u3059\u3002<\/li>\n<li>new_value: \u5b9a\u6642\u9593\u3092\u8a2d\u5b9a\u3059\u308b itimerval \u69cb\u9020\u4f53\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u30fc<\/li>\n<li>old_value\uff1a\u69cb\u9020\u4f53itimerval\u578b\u3078\u306e\u30dd\u30a4\u30f3\u30bf\u3001\u53e4\u3044\u30bf\u30a4\u30de\u30fc\u5024\u3092\u53d6\u5f97<\/li>\n<\/ol>\n<p>itimerval\u69cb\u9020\u4f53\u306f\u6b21\u306e\u3088\u3046\u306b\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-class\"><span class=\"hljs-keyword\">struct<\/span> <span class=\"hljs-title\">itimerval<\/span> {<\/span>\r\n    <span class=\"hljs-class\"><span class=\"hljs-keyword\">struct<\/span> <span class=\"hljs-title\">timeval<\/span> <span class=\"hljs-title\">it_interval<\/span>;<\/span>  <span class=\"hljs-comment\">\/\/ \u5b9a\u65f6\u5668\u7684\u95f4\u9694\u65f6\u95f4<\/span>\r\n    <span class=\"hljs-class\"><span class=\"hljs-keyword\">struct<\/span> <span class=\"hljs-title\">timeval<\/span> <span class=\"hljs-title\">it_value<\/span>;<\/span>     <span class=\"hljs-comment\">\/\/ \u7b2c\u4e00\u6b21\u5b9a\u65f6\u5668\u89e6\u53d1\u7684\u65f6\u95f4<\/span>\r\n};\r\n<\/code><\/pre>\n<p>struct timeval\u69cb\u9020\u4f53\u306f\u6642\u9593\u306e\u5024\u3092\u8868\u3059\u305f\u3081\u306b\u4f7f\u308f\u308c\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-class\"><span class=\"hljs-keyword\">struct<\/span> <span class=\"hljs-title\">timeval<\/span> {<\/span>\r\n    <span class=\"hljs-type\">time_t<\/span>      tv_sec;         <span class=\"hljs-comment\">\/\/ \u79d2<\/span>\r\n    <span class=\"hljs-type\">suseconds_t<\/span> tv_usec;        <span class=\"hljs-comment\">\/\/ \u5fae\u79d2<\/span>\r\n};\r\n<\/code><\/pre>\n<p>\u95a2\u6570\u304c0\u3092\u8fd4\u305b\u3070\u6210\u529f\u3001-1\u3092\u8fd4\u305b\u3070\u5931\u6557<\/p>\n<p>setitimer\u95a2\u6570\u3092\u7528\u3044\u308b\u3053\u3068\u3067\u3001\u6307\u5b9a\u3055\u308c\u305f\u6642\u9593\u304c\u7d4c\u904e\u3057\u305f\u969b\u306b\u6307\u5b9a\u3055\u308c\u305f\u30b7\u30b0\u30ca\u30eb\u304c\u9001\u4fe1\u3055\u308c\u308b\u30bf\u30a4\u30de\u30fc\u3092\u8a2d\u5b9a\u3067\u304d\u307e\u3059\u3002new_value\u69cb\u9020\u4f53\u306eit_value\u3068it_interval\u30d5\u30a3\u30fc\u30eb\u30c9\u3092\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u30bf\u30a4\u30de\u30fc\u306e\u521d\u56de\u767a\u706b\u6642\u523b\u3068\u5468\u671f\u7684\u306a\u767a\u706b\u9593\u9694\u3092\u6307\u5b9a\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>\u6b21\u306b\u30011 \u79d2\u3054\u3068\u306b SIGALRM \u30b7\u30b0\u30ca\u30eb\u3092\u767a\u751f\u3055\u305b\u308b\u30bf\u30a4\u30de\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3092\u793a\u3057\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"hljs-meta\">#<span class=\"hljs-keyword\">include<\/span> <span class=\"hljs-string\">&lt;stdio.h&gt;<\/span><\/span>\r\n<span class=\"hljs-meta\">#<span class=\"hljs-keyword\">include<\/span> <span class=\"hljs-string\">&lt;stdlib.h&gt;<\/span><\/span>\r\n<span class=\"hljs-meta\">#<span class=\"hljs-keyword\">include<\/span> <span class=\"hljs-string\">&lt;unistd.h&gt;<\/span><\/span>\r\n<span class=\"hljs-meta\">#<span class=\"hljs-keyword\">include<\/span> <span class=\"hljs-string\">&lt;sys\/time.h&gt;<\/span><\/span>\r\n<span class=\"hljs-meta\">#<span class=\"hljs-keyword\">include<\/span> <span class=\"hljs-string\">&lt;signal.h&gt;<\/span><\/span>\r\n\r\n<span class=\"hljs-type\">void<\/span> <span class=\"hljs-title function_\">handler<\/span><span class=\"hljs-params\">(<span class=\"hljs-type\">int<\/span> signum)<\/span> {\r\n    <span class=\"hljs-built_in\">printf<\/span>(<span class=\"hljs-string\">\"Timer expired!\\n\"<\/span>);\r\n}\r\n\r\n<span class=\"hljs-type\">int<\/span> <span class=\"hljs-title function_\">main<\/span><span class=\"hljs-params\">()<\/span> {\r\n    <span class=\"hljs-class\"><span class=\"hljs-keyword\">struct<\/span> <span class=\"hljs-title\">itimerval<\/span> <span class=\"hljs-title\">timer<\/span>;<\/span>\r\n    <span class=\"hljs-comment\">\/\/ \u8bbe\u7f6e\u5b9a\u65f6\u5668\u521d\u6b21\u89e6\u53d1\u65f6\u95f4\u4e3a1\u79d2\uff0c\u95f4\u9694\u65f6\u95f4\u4e5f\u4e3a1\u79d2<\/span>\r\n    timer.it_value.tv_sec = <span class=\"hljs-number\">1<\/span>;\r\n    timer.it_value.tv_usec = <span class=\"hljs-number\">0<\/span>;\r\n    timer.it_interval.tv_sec = <span class=\"hljs-number\">1<\/span>;\r\n    timer.it_interval.tv_usec = <span class=\"hljs-number\">0<\/span>;\r\n\r\n    <span class=\"hljs-comment\">\/\/ \u6ce8\u518c\u4fe1\u53f7\u5904\u7406\u51fd\u6570<\/span>\r\n    signal(SIGALRM, handler);\r\n\r\n    <span class=\"hljs-comment\">\/\/ \u8bbe\u7f6e\u5b9a\u65f6\u5668<\/span>\r\n    <span class=\"hljs-keyword\">if<\/span> (setitimer(ITIMER_REAL, &amp;timer, <span class=\"hljs-literal\">NULL<\/span>) == <span class=\"hljs-number\">-1<\/span>) {\r\n        perror(<span class=\"hljs-string\">\"setitimer\"<\/span>);\r\n        <span class=\"hljs-built_in\">exit<\/span>(<span class=\"hljs-number\">1<\/span>);\r\n    }\r\n\r\n    <span class=\"hljs-comment\">\/\/ \u65e0\u9650\u5faa\u73af\u7b49\u5f85\u4fe1\u53f7<\/span>\r\n    <span class=\"hljs-keyword\">while<\/span> (<span class=\"hljs-number\">1<\/span>) {\r\n        pause();\r\n    }\r\n\r\n    <span class=\"hljs-keyword\">return<\/span> <span class=\"hljs-number\">0<\/span>;\r\n}\r\n<\/code><\/pre>\n<p>\u4e0a\u8ff0\u306e\u30b3\u30fc\u30c9\u3067\u306f\u3001\u6700\u521d\u306b SIGALRM \u30b7\u30b0\u30ca\u30eb\u306e\u30c8\u30ea\u30ac\u3092\u51e6\u7406\u3059\u308b\u30b7\u30b0\u30ca\u30eb\u30cf\u30f3\u30c9\u30e9\u95a2\u6570 handler \u3092\u5b9a\u7fa9\u3057\u3066\u3044\u307e\u3059\u3002main \u95a2\u6570\u3067\u3001\u30bf\u30a4\u30de\u30fc\u306e\u521d\u56de\u30c8\u30ea\u30ac\u6642\u9593\u3092 1 \u79d2\u3001\u30a4\u30f3\u30bf\u30fc\u30d0\u30eb\u3082 1 \u79d2\u306b\u8a2d\u5b9a\u3057\u3001signal \u95a2\u6570\u3067\u30b7\u30b0\u30ca\u30eb\u30cf\u30f3\u30c9\u30e9\u95a2\u6570\u3092\u767b\u9332\u3057\u307e\u3057\u305f\u3002\u3055\u3089\u306b\u3001setitimer \u95a2\u6570\u3092\u547c\u3073\u51fa\u3057\u3066\u30bf\u30a4\u30de\u30fc\u3092\u8a2d\u5b9a\u3057\u3001\u7121\u9650\u30eb\u30fc\u30d7\u306b\u5165\u3063\u3066\u30b7\u30b0\u30ca\u30eb\u306e\u72b6\u614b\u3092\u5f85\u3061\u307e\u3059\u3002<\/p>\n<p>\u30bf\u30a4\u30de\u30fc\u306e\u6642\u9593\u304c\u5230\u6765\u3059\u308b\u3068 SIGALRM \u30b7\u30b0\u30ca\u30eb\u304c\u767a\u751f\u3057\u3001\u305d\u306e\u30b7\u30b0\u30ca\u30eb\u30cf\u30f3\u30c9\u30e9\u95a2\u6570\u304c\u547c\u3073\u51fa\u3055\u308c\u3066\u3001\u300cTimer expired!\u300d\u3068\u51fa\u529b\u3055\u308c\u308b\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>C\u8a00\u8a9e\u3067\u306f\u3001setitimer\u95a2\u6570\u306f\u30bf\u30a4\u30de\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u7279\u5b9a\u306e\u6642\u9593\u9593\u9694\u3067\u30b7\u30b0\u30ca\u30eb\u3092\u30c8\u30ea\u30ac\u30fc\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002 \u95a2\u6570\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002 int setitimer(int which,  [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-83773","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>C\u8a00\u8a9e\u3067settimer\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002 - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/c\u8a00\u8a9e\u3067settimer\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"C\u8a00\u8a9e\u3067settimer\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\" \/>\n<meta property=\"og:description\" content=\"C\u8a00\u8a9e\u3067\u306f\u3001setitimer\u95a2\u6570\u306f\u30bf\u30a4\u30de\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u7279\u5b9a\u306e\u6642\u9593\u9593\u9694\u3067\u30b7\u30b0\u30ca\u30eb\u3092\u30c8\u30ea\u30ac\u30fc\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002 \u95a2\u6570\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002 int setitimer(int which, [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/c\u8a00\u8a9e\u3067settimer\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-20T18:20:26+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-27T01:21:53+00:00\" \/>\n<meta name=\"author\" content=\"\u5149, \u660e\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5149, \u660e\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%a7settimer%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e3%82%92%e6%95%99%e3%81%88%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84%e3%80%82\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%a7settimer%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e3%82%92%e6%95%99%e3%81%88%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84%e3%80%82\/\",\"name\":\"C\u8a00\u8a9e\u3067settimer\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-20T18:20:26+00:00\",\"dateModified\":\"2024-03-27T01:21:53+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%a7settimer%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e3%82%92%e6%95%99%e3%81%88%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84%e3%80%82\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%a7settimer%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e3%82%92%e6%95%99%e3%81%88%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84%e3%80%82\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%a7settimer%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e3%82%92%e6%95%99%e3%81%88%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84%e3%80%82\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"C\u8a00\u8a9e\u3067settimer\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\",\"name\":\"\u5149, \u660e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"caption\":\"\u5149, \u660e\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%a7settimer%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e3%82%92%e6%95%99%e3%81%88%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84%e3%80%82\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"C\u8a00\u8a9e\u3067settimer\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002 - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/c\u8a00\u8a9e\u3067settimer\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\/","og_locale":"ja_JP","og_type":"article","og_title":"C\u8a00\u8a9e\u3067settimer\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002","og_description":"C\u8a00\u8a9e\u3067\u306f\u3001setitimer\u95a2\u6570\u306f\u30bf\u30a4\u30de\u30fc\u3092\u8a2d\u5b9a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u307e\u3059\u3002\u7279\u5b9a\u306e\u6642\u9593\u9593\u9694\u3067\u30b7\u30b0\u30ca\u30eb\u3092\u30c8\u30ea\u30ac\u30fc\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002 \u95a2\u6570\u30d7\u30ed\u30c8\u30bf\u30a4\u30d7\u306f\u6b21\u306e\u3068\u304a\u308a\u3067\u3059\u3002 int setitimer(int which, [&hellip;]","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/c\u8a00\u8a9e\u3067settimer\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-20T18:20:26+00:00","article_modified_time":"2024-03-27T01:21:53+00:00","author":"\u5149, \u660e","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u5149, \u660e","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%a7settimer%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e3%82%92%e6%95%99%e3%81%88%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84%e3%80%82\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%a7settimer%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e3%82%92%e6%95%99%e3%81%88%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84%e3%80%82\/","name":"C\u8a00\u8a9e\u3067settimer\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-20T18:20:26+00:00","dateModified":"2024-03-27T01:21:53+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%a7settimer%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e3%82%92%e6%95%99%e3%81%88%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84%e3%80%82\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%a7settimer%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e3%82%92%e6%95%99%e3%81%88%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84%e3%80%82\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%a7settimer%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e3%82%92%e6%95%99%e3%81%88%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84%e3%80%82\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"C\u8a00\u8a9e\u3067settimer\u95a2\u6570\u306e\u4f7f\u7528\u65b9\u6cd5\u3092\u6559\u3048\u3066\u304f\u3060\u3055\u3044\u3002"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55","name":"\u5149, \u660e","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","caption":"\u5149, \u660e"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%a7settimer%e9%96%a2%e6%95%b0%e3%81%ae%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%e3%82%92%e6%95%99%e3%81%88%e3%81%a6%e3%81%8f%e3%81%a0%e3%81%95%e3%81%84%e3%80%82\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/83773","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=83773"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/83773\/revisions"}],"predecessor-version":[{"id":187596,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/83773\/revisions\/187596"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=83773"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=83773"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=83773"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}