{"id":2058,"date":"2008-04-01T01:01:02","date_gmt":"2008-03-31T16:01:02","guid":{"rendered":"http:\/\/yasu2.prosou.nu\/blog\/index.php\/2008\/04\/01\/windowsstat\/"},"modified":"2008-04-01T01:01:02","modified_gmt":"2008-03-31T16:01:02","slug":"windowsstat","status":"publish","type":"post","link":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/2008\/04\/01\/2058\/","title":{"rendered":"Windows\u3068stat()\u3068\u50d5"},"content":{"rendered":"<p><a href=\"http:\/\/murasaki.dna.bio.keio.ac.jp\/gmv.html\">GMV<\/a>\u3068\u3044\u3046\u306e\u3092<br \/>\n\u305a\u3063\u3068\u4f5c\u3063\u3066\u3044\u308b\u3002\u666e\u6bb5\u306e\u958b\u767a\u74b0\u5883\u306f Mac \u3060\u304c\u3001GTK+ \u3092\u4f7f\u3063\u3066\u304a\u308a\u3001\u3044\u3061\u304a\u3046<br \/>\ncross platform \u3068\u3044\u3046\u3053\u3068\u306b\u306a\u3063\u3066\u3044\u3066\u3001\u5404\u7a2e Unix (X11) \u3067\u52d5\u304f\u306e\u306f\u3082\u3061\u308d\u3093<br \/>\n\u306e\u3053\u3068\u3001\u3044\u3061\u304a\u3046 Windows \u3067\u3082\u52d5\u304f\u3053\u3068\u306b\u306a\u3063\u3066\u3044\u308b\u3002<br \/>\n\u3067\u3001\u30d0\u30a4\u30ca\u30ea\u914d\u5e03\u3082\u3084\u3063\u3066\u304a\u308a\u3001\u7814\u7a76\u5ba4\u306b\u3042\u308b\u50d5\u306e iMac \u3067\u30b9\u30af\u30ea\u30d7\u30c8\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001<br \/>\n&#8211; \u30bd\u30fc\u30b9<br \/>\n&#8211; Mac \u7528\u306e Universal \u306a application bundle (gmv.app)<br \/>\n&#8211; Windows \u7528\u306e\u30d0\u30a4\u30ca\u30ea (gmv.exe)<br \/>\n\u3092\u751f\u6210\u3059\u308b\u3088\u3046\u306b\u306a\u3063\u3066\u3044\u308b\u3002Windows \u5411\u3051\u306e\u30d3\u30eb\u30c9\u306b\u306f MinGW \u3092\u4f7f\u3063\u3066\u304a\u308a\u3001<br \/>\niMac \u306b\u306f MinGW \u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3068 MinGW \u306a gcc \u306e\u30af\u30ed\u30b9\u30b3\u30f3\u30d1\u30a4\u30e9\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>\n\u3057\u3066\u3042\u308b\u3002<br \/>\n\u3057\u304b\u3057\u3001\u3044\u304f\u3089 MinGW \u3092\u4f7f\u3063\u3066\u3044\u308b\u3068\u3044\u3063\u3066\u3082\u3001Windows \u3068\u306e\u4e92\u63db\u6027\u3092\u7dad\u6301\u3059\u308b<br \/>\n\u306e\u306f\u3051\u3063\u3053\u3046\u5927\u5909\u3067\u3001Mac \u3084 FreeBSD \u3067\u304d\u3063\u3061\u308a\u52d5\u304f\u30d7\u30ed\u30b0\u30e9\u30e0\u304c MinGW \u306a\u74b0\u5883\u3067\u3082\u30b3\u30f3\u30d1\u30a4\u30eb\u304c\u3061\u3083\u3093\u3068\u901a\u3063\u305f\u304b\u3089\u3068\u3044\u3063\u3066\u3001\u52d5\u304f\u3068\u306f\u9650\u3089\u306a\u3044\u306e\u3060\u3002<br \/>\n\u5e78\u3044\u306b\u3057\u3066\u3001GMV \u3092\u4f7f\u3063\u3066\u304f\u3060\u3055\u3063\u3066\u3044\u308b\u65b9\u3005\u306e\u5927\u534a (\u3068\u3044\u3046\u304b\u3001\u5168\u54e1) \u306fMac \u304a\u3088\u3073 Unix \u9663\u55b6\u306a\u306e\u3067\u3001\u3053\u308c\u304c\u554f\u984c\u306b\u306a\u308b\u3053\u3068\u306f\u666e\u6bb5\u306f\u306a\u3044\u306e\u3060\u304c\u3001\u81ea\u5206\u306e\u5927\u5b66\u306e\u30014\u6708\u306e\u5b66\u751f\u5b9f\u9a13\u3060\u3051\u306f\u5225\u3060\u3002\u306a\u306b\u3057\u308d\u3001\u6570\u5341\u4eba\u306e\u5b66\u751f\u304c\u3044\u3063\u305b\u3044\u306bWindows \u3067 GMV \u3092\u4f7f\u3046\u3002\u3053\u308c\u306f\u3001\u3082\u306e\u3059\u3054\u304f\u6016\u3044\u3002<br \/>\n\u53bb\u5e74\u306f\u3001Windows \u306a\u30c6\u30b9\u30c8\u74b0\u5883\u3092 PentiumM \u306a ThinkPad T42 \u3057\u304b\u6301\u3063\u3066\u304a\u3089\u305a\u3001SMP \u306a\u74b0\u5883\u3067\u305f\u307e\u306b\u843d\u3061\u308b\u30d0\u30b0\u3001\u3068\u3044\u3046\u306e\u3067\u82e6\u3057\u3093\u3060\u3002\u6700\u8fd1\u306e\u8a08\u7b97\u6a5f\u306f\u307f\u3093\u306aPentium4 Hyperthreading \u3092\u306f\u3058\u3081\u3068\u3057\u3066\u3001CoreDuo \u3084 Core2Duo \u306a\u308f\u3051\u3067\u3001\u7d14\u7c8b\u306b uniprocessor \u306a\u74b0\u5883\u3001\u3068\u3044\u3046\u306e\u306f\u307b\u3068\u3093\u3069\u306a\u3044\u3002\u3067\u3001\u3053\u306e\u3068\u304d\u306fMinGW \u306a\u30b3\u30f3\u30d1\u30a4\u30e9\u3092 gcc-3.4 \u304b\u3089 gcc-4.0 \u306b\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3059\u308b\u3053\u3068\u3067\u89e3\u6c7a\u3057\u305f\u3002<br \/>\n\u4eca\u5e74\u306f\u3069\u3046\u304b\u3068\u3044\u3046\u3068\u30011\u6708\u306b\u304b\u306a\u308a Windows \u3067\u30c7\u30d0\u30c3\u30b0\u3092\u3057\u305f\u306e\u3067\u3001\u5b8c\u74a7\u306b\u52d5\u304f\u3068\u30bf\u30ab\u3092\u304f\u304f\u3063\u3066\u3044\u305f\u3002\u307e\u3063\u305f\u304f\u7518\u304b\u3063\u305f\u3002<br \/>\nWindows native \u306a\u958b\u767a\u74b0\u5883\u306f\u3001Cygwin \u3068 NTEmacs \u304c\u30e1\u30a4\u30f3\u3067\u3001\u30b3\u30f3\u30d1\u30a4\u30e9\u3084\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u3084\u306f\u308a MinGW \u3060\u3002Cygwin \u306f\u307e\u3042\u3001\u305d\u3053\u305d\u3053\u4fbf\u5229\u306a\u306e\u3060\u304c\u3001Windows \u306b\u306f fork() \u304c\u306a\u3044\u306e\u304c\u539f\u56e0\u306a\u306e\u304b\u3001\u3068\u306b\u304b\u304f\u30d7\u30ed\u30bb\u30b9\u304c\u8d77\u52d5\u3059\u308b\u307e\u3067\u304c\u3082\u306e\u3059\u3054\u304f\u9045\u3044\u3002\u3057\u305f\u304c\u3063\u3066\u3001\u7d30\u304b\u3044\u30bd\u30fc\u30b9\u30d5\u30a1\u30a4\u30eb\u3092\u305f\u304f\u3055\u3093\u30b3\u30f3\u30d1\u30a4\u30eb\u3057\u305f\u308a\u3060\u3068\u304b\u3001\u305d\u3046\u3044\u3046\u4f5c\u696d\u304c\u3068\u3066\u3082\u3057\u3093\u3069\u3044\u4e0a\u306b\u3001MinGW \u306a\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u4f7f\u3063\u3066\u3044\u308b\u3053\u3068\u304c\u95a2\u4fc2\u3059\u308b\u306e\u304b\u3069\u3046\u304b\u308f\u304b\u3089\u306a\u3044\u304c\u3001gdb \u306e\u51fa\u529b\u306f\u6982\u306d\u610f\u5473\u4e0d\u660e\u3067\u3042\u308a\u3001stack backtrace \u306a\u3093\u304b\u306f\u307b\u3068\u3093\u3069\u5f79\u306b\u7acb\u305f\u306a\u3044\u3068\u3044\u3063\u3066\u3088\u3044\u30ec\u30d9\u30eb\u3002\u3057\u305f\u304c\u3063\u3066\u3001Mac \u3068\u304b\u305d\u306e\u307b\u304b\u306e Unix \u3067\u5b8c\u74a7\u306b\u52d5\u304f\u3088\u3046\u306b\u3057\u3066\u304a\u3044\u3066\u304b\u3089\u3058\u3083\u306a\u3044\u3068\u3001Windows \u3067\u4f5c\u696d\u3059\u308b\u306e\u306f\u975e\u5e38\u306b\u304d\u3064\u3044\u3002<br \/>\n\u4eca\u56de\u306e\u30d0\u30b0\u306f\u306a\u3093\u3060\u3063\u305f\u304b\u3068\u3044\u3046\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u30bf\u30a4\u30e0\u30b9\u30bf\u30f3\u30d7\u3092\u8abf\u3079\u308b\u306e\u306b\u4f7f\u3063\u3066\u3044\u305f stat() \u306e\u6319\u52d5\u304c\u602a\u3057\u3044\u3001\u3068\u3044\u3046\u3082\u306e\u3060\u3063\u305f\u3002thread safe \u306b\u306a\u3063\u3066\u3044\u306a\u3044\u3068\u304b\u3001\u305d\u3046\u3044\u3046\u3053\u3068\u304c\u539f\u56e0\u306a\u306e\u304b\u306a\u3093\u3060\u304b\u306f\u7d50\u5c40\u308f\u304b\u3089\u305a\u3058\u307e\u3044\u3060\u304c\u3001stat() \u305d\u308c\u81ea\u4f53\u306f\u6210\u529f\u3059\u308b\u3082\u306e\u306e\u3001\u305d\u3053\u304b\u3089\u6570\u884c\u3092\u5b9f\u884c\u3059\u308b\u9593\u306b\u30d7\u30ed\u30b0\u30e9\u30e0\u304c\u30af\u30e9\u30c3\u30b7\u30e5\u3059\u308b\u306e\u3060\u3002\u7d50\u5c40\u306e\u3068\u3053\u308d\u3001GLib \u306b\u3042\u308b g_stat() \u3092\u4f7f\u3046\u3053\u3068\u3067\u89e3\u6c7a\u3057\u305f\u3002\u3053\u306e\u95a2\u6570\u306f\u3001\u7d50\u679c\u3092\u8fd4\u3059\u69cb\u9020\u4f53\u3082 OS \u4f9d\u5b58\u306a struct stat \u306e\u307e\u307e\u3060\u3057\u3001\u5b9f\u969b\u306e\u3068\u3053\u308d\u4e2d\u3067\u306f\u4f55\u3092\u3057\u3066\u3044\u308b\u306e\u304b\u898b\u3066\u3044\u306a\u3044\u3093\u3060\u3051\u3069\u3001g_stat() \u306b\u3057\u305f\u3089\u3042\u3063\u3051\u306a\u304f\u52d5\u304f\u3088\u3046\u306b\u306a\u3063\u305f\u3002\u306f\u30fc\u3002<br \/>\n\u307e\u3042\u3067\u3082\u3001\u30c7\u30d0\u30c3\u30b0\u306e\u9014\u4e2d\u3067\u5225\u306e\u30d0\u30b0\u3092\u307f\u3064\u3051\u3066\u3001\u76f4\u3059\u3053\u3068\u304c\u3067\u304d\u305f\u306e\u3067\u305d\u308c\u306f\u305d\u308c\u3067\u3044\u3044\u3068\u3057\u3088\u3046\u3002<br \/>\n\u3064\u3089\u3044\u4e8c\u65e5\u9593\u3060\u3063\u305f&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>GMV\u3068\u3044\u3046\u306e\u3092 \u305a\u3063\u3068\u4f5c\u3063\u3066\u3044\u308b\u3002\u666e\u6bb5\u306e\u958b\u767a\u74b0\u5883\u306f Mac \u3060\u304c\u3001GTK+ \u3092\u4f7f\u3063\u3066\u304a\u308a\u3001\u3044\u3061\u304a\u3046 cross platform \u3068\u3044\u3046\u3053\u3068\u306b\u306a\u3063\u3066\u3044\u3066\u3001\u5404\u7a2e Unix (X11) \u3067\u52d5\u304f\u306e\u306f\u3082\u3061\u308d\u3093 \u306e\u3053\u3068\u3001\u3044\u3061\u304a\u3046 &hellip; <a href=\"https:\/\/yasu2.prosou.nu\/blog\/index.php\/2008\/04\/01\/2058\/\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;Windows\u3068stat()\u3068\u50d5&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[6],"tags":[],"class_list":["post-2058","post","type-post","status-publish","format-standard","hentry","category-unix-"],"_links":{"self":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/2058","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=2058"}],"version-history":[{"count":0,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/posts\/2058\/revisions"}],"wp:attachment":[{"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=2058"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=2058"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/yasu2.prosou.nu\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=2058"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}