{"description":"\u3084\u3063\u3066\u3057\u307e\u3063\u305f\u3001\u3068\u8a00\u3046\u306e\u304c\u6b63\u76f4\u306a\u3068\u3053\u308d\u3067\u3059\u3002 \u3053\u3093\u306a\u30b3\u30fc\u30c9\u3092\u66f8\u304d\u307e\u3057\u305f\u3002\u5b50\u30d7\u30ed\u30bb\u30b9\u30925\u500b\u7acb\u3061\u4e0a\u3052\u3066\u3001\u305d\u308c\u305e\u308c\u306e\u5b50\u30d7\u30ed\u30bb\u30b9\u306b1\u301c5\u306e\u6570\u5b57\u3092\uff11\u3064\u3060\u3051\u5370\u5b57\u3057\u3066\u3082\u3089\u3046\u3060\u3051\u306e\u7c21\u5358\u306a\u30d7\u30ed\u30b0\u30e9\u30e0\u3067\u3059\u3002 use strict; use warnings; foreach(1 .. 5){ if(my $pid = fork()){ # \u89aa\u30d7\u30ed\u30bb\u30b9 # NOP }elsif(defined $pid){ # \u5b50\u30d7\u30ed\u30bb\u30b9 child($_); }else{ die \"sorry.\"; } } while(wait() > 0){} exit(0); sub child{ my $num = shift; prin\u2026","provider_name":"Hatena Blog","author_name":"hiratara","blog_title":"Pixel Pedals of Tomakomai","author_url":"https://blog.hatena.ne.jp/hiratara/","categories":["\u6280\u8853"],"image_url":null,"width":"100%","height":"190","title":"fork()\u5931\u6557\u8ac7","provider_url":"https://hatena.blog","version":"1.0","blog_url":"https://hiratara.hatenadiary.jp/","published":"2008-01-13 11:11:03","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhiratara.hatenadiary.jp%2Fentry%2F20080113%2F1200190263\" title=\"fork()\u5931\u6557\u8ac7 - Pixel Pedals of Tomakomai\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","url":"https://hiratara.hatenadiary.jp/entry/20080113/1200190263"}