{"id":5791,"date":"2024-03-14T16:15:29","date_gmt":"2024-03-14T07:15:29","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%aestrcpy%e9%96%a2%e6%95%b0%e3%81%af%e3%80%81%e5%85%83%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%8c%e9%95%b7%e3%81%99%e3%81%8e%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ab%e3%81%a9\/"},"modified":"2025-08-03T05:32:03","modified_gmt":"2025-08-02T20:32:03","slug":"c%e8%a8%80%e8%aa%9e%e3%81%aestrcpy%e9%96%a2%e6%95%b0%e3%81%af%e3%80%81%e5%85%83%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%8c%e9%95%b7%e3%81%99%e3%81%8e%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ab%e3%81%a9","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%aestrcpy%e9%96%a2%e6%95%b0%e3%81%af%e3%80%81%e5%85%83%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%8c%e9%95%b7%e3%81%99%e3%81%8e%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ab%e3%81%a9\/","title":{"rendered":"strcpy\u95a2\u6570\uff1aC\u8a00\u8a9e\u3067\u306e\u6587\u5b57\u5217\u30b3\u30d4\u30fc\u3068\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u5bfe\u7b56"},"content":{"rendered":"<p>strcpy\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u3001\u5143\u306e\u6587\u5b57\u5217\u304c\u9577\u3059\u304e\u308b\u3068\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u6587\u5b57\u5217\u306e\u30d0\u30c3\u30d5\u30a1\u304c\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3057\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u30af\u30e9\u30c3\u30b7\u30e5\u3084\u30c7\u30fc\u30bf\u306e\u640d\u5931\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u72b6\u6cc1\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u3001strcpy\u95a2\u6570\u3092\u547c\u3073\u51fa\u3059\u524d\u306b\u5143\u306e\u6587\u5b57\u5217\u306e\u9577\u3055\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3001\u9069\u5207\u306a\u51e6\u7406\u65b9\u6cd5\u3092\u9078\u629e\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u4e00\u90e8\u306e\u5185\u5bb9\u306e\u307f\u3092\u30b3\u30d4\u30fc\u3059\u308b\u304b\u3001strcpy\u306e\u4ee3\u308f\u308a\u306b\u3088\u308a\u5b89\u5168\u306a\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u306a\u3069\u304c\u8003\u3048\u3089\u308c\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0b\u306f\u3001\u30bd\u30fc\u30b9\u6587\u5b57\u5217\u304c\u9577\u3059\u304e\u308b\u5834\u5408\u306e\u5bfe\u51e6\u65b9\u6cd5\u3092\u793a\u3059\u7c21\u5358\u306a\u30b5\u30f3\u30d7\u30eb\u30b3\u30fc\u30c9\u3067\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;string.h&gt;<\/span><\/span>\r\n\r\n<span class=\"hljs-type\">void<\/span> <span class=\"hljs-title function_\">safe_strcpy<\/span><span class=\"hljs-params\">(<span class=\"hljs-type\">char<\/span> *dest, <span class=\"hljs-type\">const<\/span> <span class=\"hljs-type\">char<\/span> *src, <span class=\"hljs-type\">size_t<\/span> dest_len)<\/span> {\r\n    <span class=\"hljs-keyword\">if<\/span>(<span class=\"hljs-built_in\">strlen<\/span>(src) &lt; dest_len) {\r\n        <span class=\"hljs-built_in\">strcpy<\/span>(dest, src);\r\n    } <span class=\"hljs-keyword\">else<\/span> {\r\n        <span class=\"hljs-built_in\">strncpy<\/span>(dest, src, dest_len - <span class=\"hljs-number\">1<\/span>);\r\n        dest[dest_len - <span class=\"hljs-number\">1<\/span>] = <span class=\"hljs-string\">'\\0'<\/span>;\r\n    }\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-type\">char<\/span> dest[<span class=\"hljs-number\">10<\/span>];\r\n    <span class=\"hljs-type\">const<\/span> <span class=\"hljs-type\">char<\/span> *src = <span class=\"hljs-string\">\"This is a very long string\"<\/span>;\r\n\r\n    safe_strcpy(dest, src, <span class=\"hljs-keyword\">sizeof<\/span>(dest));\r\n\r\n    <span class=\"hljs-built_in\">printf<\/span>(<span class=\"hljs-string\">\"Copied string: %s\\n\"<\/span>, dest);\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\u8a18\u306e\u4f8b\u3067\u306f\u3001strcpy\u95a2\u6570\u306e\u4ee3\u308f\u308a\u306bsafe_strcpy\u95a2\u6570\u3092\u5b9a\u7fa9\u3057\u307e\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306f\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u6587\u5b57\u5217\u30d0\u30c3\u30d5\u30a1\u306e\u30b5\u30a4\u30ba\u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066\u53d7\u3051\u53d6\u308a\u307e\u3059\u3002\u95a2\u6570\u5185\u90e8\u3067\u306f\u3001\u307e\u305a\u30bd\u30fc\u30b9\u6587\u5b57\u5217\u306e\u9577\u3055\u304c\u30bf\u30fc\u30b2\u30c3\u30c8\u6587\u5b57\u5217\u306e\u30b5\u30a4\u30ba\u3088\u308a\u3082\u5c0f\u3055\u3044\u304b\u3069\u3046\u304b\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3001\u5c0f\u3055\u3044\u5834\u5408\u306fstrcpy\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u30b3\u30d4\u30fc\u3057\u307e\u3059\u3002\u305d\u308c\u4ee5\u5916\u306e\u5834\u5408\u306f\u3001\u90e8\u5206\u7684\u306a\u5185\u5bb9\u306e\u307f\u3092\u30b3\u30d4\u30fc\u3059\u308bstrncpy\u95a2\u6570\u3092\u4f7f\u7528\u3057\u3001\u6587\u5b57\u5217\u306e\u5b8c\u5168\u6027\u3092\u78ba\u4fdd\u3059\u308b\u305f\u3081\u306b\u624b\u52d5\u3067\u6587\u5b57\u5217\u7d42\u7aef\u6587\u5b57&#8217;\\0&#8217;\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n<p>\u3053\u306e\u65b9\u6cd5\u306b\u3088\u308a\u3001\u30bd\u30fc\u30b9\u6587\u5b57\u5217\u304c\u9577\u3059\u304e\u3066\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u306e\u554f\u984c\u304c\u767a\u751f\u3059\u308b\u3053\u3068\u3092\u52b9\u679c\u7684\u306b\u56de\u907f\u3057\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u5b89\u5b9a\u6027\u3068\u5b89\u5168\u6027\u3092\u78ba\u4fdd\u3067\u304d\u307e\u3059\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>strcpy\u95a2\u6570\u3092\u4f7f\u7528\u3059\u308b\u969b\u306b\u3001\u5143\u306e\u6587\u5b57\u5217\u304c\u9577\u3059\u304e\u308b\u3068\u3001\u30bf\u30fc\u30b2\u30c3\u30c8\u6587\u5b57\u5217\u306e\u30d0\u30c3\u30d5\u30a1\u304c\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3057\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u306e\u30af\u30e9\u30c3\u30b7\u30e5\u3084\u30c7\u30fc\u30bf\u306e\u640d\u5931\u304c\u767a\u751f\u3059\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u306e\u3088\u3046\u306a\u72b6\u6cc1\u3092\u907f\u3051\u308b\u305f\u3081\u306b\u3001strcpy\u95a2\u6570\u3092\u547c\u3073\u51fa [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[246,1317,19,1294,48],"class_list":["post-5791","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-c","tag-strcpy","tag-19","tag-1294","tag-48"],"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>strcpy\u95a2\u6570\uff1aC\u8a00\u8a9e\u3067\u306e\u6587\u5b57\u5217\u30b3\u30d4\u30fc\u3068\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u5bfe\u7b56 - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"C\u8a00\u8a9e\u306estrcpy\u95a2\u6570\u306b\u3088\u308b\u6587\u5b57\u5217\u30b3\u30d4\u30fc\u306e\u5371\u967a\u6027\u3068\u5bfe\u7b56\u3092\u89e3\u8aac\u3002\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3092\u9632\u304e\u3001\u5b89\u5168\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306e\u6ce8\u610f\u70b9\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002\" \/>\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\u306estrcpy\u95a2\u6570\u306f\u3001\u5143\u306e\u6587\u5b57\u5217\u304c\u9577\u3059\u304e\u308b\u5834\u5408\u306b\u3069\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"strcpy\u95a2\u6570\uff1aC\u8a00\u8a9e\u3067\u306e\u6587\u5b57\u5217\u30b3\u30d4\u30fc\u3068\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u5bfe\u7b56\" \/>\n<meta property=\"og:description\" content=\"C\u8a00\u8a9e\u306estrcpy\u95a2\u6570\u306b\u3088\u308b\u6587\u5b57\u5217\u30b3\u30d4\u30fc\u306e\u5371\u967a\u6027\u3068\u5bfe\u7b56\u3092\u89e3\u8aac\u3002\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3092\u9632\u304e\u3001\u5b89\u5168\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306e\u6ce8\u610f\u70b9\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/c\u8a00\u8a9e\u306estrcpy\u95a2\u6570\u306f\u3001\u5143\u306e\u6587\u5b57\u5217\u304c\u9577\u3059\u304e\u308b\u5834\u5408\u306b\u3069\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2024-03-14T07:15:29+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-08-02T20:32:03+00:00\" \/>\n<meta name=\"author\" content=\"\u7d50\u8863, \u6625\u82b1\" \/>\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=\"\u7d50\u8863, \u6625\u82b1\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"3\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%aestrcpy%e9%96%a2%e6%95%b0%e3%81%af%e3%80%81%e5%85%83%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%8c%e9%95%b7%e3%81%99%e3%81%8e%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ab%e3%81%a9\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%aestrcpy%e9%96%a2%e6%95%b0%e3%81%af%e3%80%81%e5%85%83%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%8c%e9%95%b7%e3%81%99%e3%81%8e%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ab%e3%81%a9\/\",\"name\":\"strcpy\u95a2\u6570\uff1aC\u8a00\u8a9e\u3067\u306e\u6587\u5b57\u5217\u30b3\u30d4\u30fc\u3068\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u5bfe\u7b56 - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2024-03-14T07:15:29+00:00\",\"dateModified\":\"2025-08-02T20:32:03+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/e52a686063ac76fd8cc6f539d41497ac\"},\"description\":\"C\u8a00\u8a9e\u306estrcpy\u95a2\u6570\u306b\u3088\u308b\u6587\u5b57\u5217\u30b3\u30d4\u30fc\u306e\u5371\u967a\u6027\u3068\u5bfe\u7b56\u3092\u89e3\u8aac\u3002\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3092\u9632\u304e\u3001\u5b89\u5168\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306e\u6ce8\u610f\u70b9\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%aestrcpy%e9%96%a2%e6%95%b0%e3%81%af%e3%80%81%e5%85%83%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%8c%e9%95%b7%e3%81%99%e3%81%8e%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ab%e3%81%a9\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%aestrcpy%e9%96%a2%e6%95%b0%e3%81%af%e3%80%81%e5%85%83%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%8c%e9%95%b7%e3%81%99%e3%81%8e%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ab%e3%81%a9\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%aestrcpy%e9%96%a2%e6%95%b0%e3%81%af%e3%80%81%e5%85%83%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%8c%e9%95%b7%e3%81%99%e3%81%8e%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ab%e3%81%a9\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"strcpy\u95a2\u6570\uff1aC\u8a00\u8a9e\u3067\u306e\u6587\u5b57\u5217\u30b3\u30d4\u30fc\u3068\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u5bfe\u7b56\"}]},{\"@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\/e52a686063ac76fd8cc6f539d41497ac\",\"name\":\"\u7d50\u8863, \u6625\u82b1\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c74c6e2eb915a3c8e795b3934aa25a7333e0b38e7f1c7baf52785286ad51105e?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c74c6e2eb915a3c8e795b3934aa25a7333e0b38e7f1c7baf52785286ad51105e?s=96&d=mm&r=g\",\"caption\":\"\u7d50\u8863, \u6625\u82b1\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/yuiharuka\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%aestrcpy%e9%96%a2%e6%95%b0%e3%81%af%e3%80%81%e5%85%83%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%8c%e9%95%b7%e3%81%99%e3%81%8e%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ab%e3%81%a9\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"strcpy\u95a2\u6570\uff1aC\u8a00\u8a9e\u3067\u306e\u6587\u5b57\u5217\u30b3\u30d4\u30fc\u3068\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u5bfe\u7b56 - Blog - Silicon Cloud","description":"C\u8a00\u8a9e\u306estrcpy\u95a2\u6570\u306b\u3088\u308b\u6587\u5b57\u5217\u30b3\u30d4\u30fc\u306e\u5371\u967a\u6027\u3068\u5bfe\u7b56\u3092\u89e3\u8aac\u3002\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3092\u9632\u304e\u3001\u5b89\u5168\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306e\u6ce8\u610f\u70b9\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002","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\u306estrcpy\u95a2\u6570\u306f\u3001\u5143\u306e\u6587\u5b57\u5217\u304c\u9577\u3059\u304e\u308b\u5834\u5408\u306b\u3069\/","og_locale":"ja_JP","og_type":"article","og_title":"strcpy\u95a2\u6570\uff1aC\u8a00\u8a9e\u3067\u306e\u6587\u5b57\u5217\u30b3\u30d4\u30fc\u3068\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u5bfe\u7b56","og_description":"C\u8a00\u8a9e\u306estrcpy\u95a2\u6570\u306b\u3088\u308b\u6587\u5b57\u5217\u30b3\u30d4\u30fc\u306e\u5371\u967a\u6027\u3068\u5bfe\u7b56\u3092\u89e3\u8aac\u3002\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3092\u9632\u304e\u3001\u5b89\u5168\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306e\u6ce8\u610f\u70b9\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/c\u8a00\u8a9e\u306estrcpy\u95a2\u6570\u306f\u3001\u5143\u306e\u6587\u5b57\u5217\u304c\u9577\u3059\u304e\u308b\u5834\u5408\u306b\u3069\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2024-03-14T07:15:29+00:00","article_modified_time":"2025-08-02T20:32:03+00:00","author":"\u7d50\u8863, \u6625\u82b1","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u7d50\u8863, \u6625\u82b1","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"3\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%aestrcpy%e9%96%a2%e6%95%b0%e3%81%af%e3%80%81%e5%85%83%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%8c%e9%95%b7%e3%81%99%e3%81%8e%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ab%e3%81%a9\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%aestrcpy%e9%96%a2%e6%95%b0%e3%81%af%e3%80%81%e5%85%83%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%8c%e9%95%b7%e3%81%99%e3%81%8e%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ab%e3%81%a9\/","name":"strcpy\u95a2\u6570\uff1aC\u8a00\u8a9e\u3067\u306e\u6587\u5b57\u5217\u30b3\u30d4\u30fc\u3068\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u5bfe\u7b56 - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2024-03-14T07:15:29+00:00","dateModified":"2025-08-02T20:32:03+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/e52a686063ac76fd8cc6f539d41497ac"},"description":"C\u8a00\u8a9e\u306estrcpy\u95a2\u6570\u306b\u3088\u308b\u6587\u5b57\u5217\u30b3\u30d4\u30fc\u306e\u5371\u967a\u6027\u3068\u5bfe\u7b56\u3092\u89e3\u8aac\u3002\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u3092\u9632\u304e\u3001\u5b89\u5168\u306a\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306e\u6ce8\u610f\u70b9\u3092\u307e\u3068\u3081\u307e\u3057\u305f\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%aestrcpy%e9%96%a2%e6%95%b0%e3%81%af%e3%80%81%e5%85%83%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%8c%e9%95%b7%e3%81%99%e3%81%8e%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ab%e3%81%a9\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%aestrcpy%e9%96%a2%e6%95%b0%e3%81%af%e3%80%81%e5%85%83%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%8c%e9%95%b7%e3%81%99%e3%81%8e%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ab%e3%81%a9\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%aestrcpy%e9%96%a2%e6%95%b0%e3%81%af%e3%80%81%e5%85%83%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%8c%e9%95%b7%e3%81%99%e3%81%8e%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ab%e3%81%a9\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"strcpy\u95a2\u6570\uff1aC\u8a00\u8a9e\u3067\u306e\u6587\u5b57\u5217\u30b3\u30d4\u30fc\u3068\u30d0\u30c3\u30d5\u30a1\u30aa\u30fc\u30d0\u30fc\u30d5\u30ed\u30fc\u5bfe\u7b56"}]},{"@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\/e52a686063ac76fd8cc6f539d41497ac","name":"\u7d50\u8863, \u6625\u82b1","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c74c6e2eb915a3c8e795b3934aa25a7333e0b38e7f1c7baf52785286ad51105e?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c74c6e2eb915a3c8e795b3934aa25a7333e0b38e7f1c7baf52785286ad51105e?s=96&d=mm&r=g","caption":"\u7d50\u8863, \u6625\u82b1"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/yuiharuka\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/c%e8%a8%80%e8%aa%9e%e3%81%aestrcpy%e9%96%a2%e6%95%b0%e3%81%af%e3%80%81%e5%85%83%e3%81%ae%e6%96%87%e5%ad%97%e5%88%97%e3%81%8c%e9%95%b7%e3%81%99%e3%81%8e%e3%82%8b%e5%a0%b4%e5%90%88%e3%81%ab%e3%81%a9\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/5791","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\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=5791"}],"version-history":[{"count":3,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/5791\/revisions"}],"predecessor-version":[{"id":326860,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/5791\/revisions\/326860"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=5791"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=5791"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=5791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}