{"id":31229,"date":"2019-10-31T21:40:10","date_gmt":"2019-10-31T18:40:10","guid":{"rendered":"https:\/\/prohoster.info\/blog\/operating-systems-three-easy-pieces-part-3-process-api-perevod\/"},"modified":"2019-10-31T21:40:10","modified_gmt":"2019-10-31T18:40:10","slug":"operating-systems-three-easy-pieces-part-3-process-api-perevod","status":"publish","type":"post","link":"https:\/\/prohoster.info\/kk\/blog\/administrirovanie\/operating-systems-three-easy-pieces-part-3-process-api-perevod","title":{"rendered":"\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043b\u044b\u049b \u0436\u04af\u0439\u0435\u043b\u0435\u0440: \u04af\u0448 \u049b\u0430\u0440\u0430\u043f\u0430\u0439\u044b\u043c \u0431\u04e9\u043b\u0456\u043c. 3-\u0431\u04e9\u043b\u0456\u043c: \u041f\u0440\u043e\u0446\u0435\u0441\u0442\u0435\u0440 API-\u0456 (\u0430\u0443\u0434\u0430\u0440\u043c\u0430)","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<h1>\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043b\u044b\u049b \u0436\u04af\u0439\u0435\u043b\u0435\u0440\u0433\u0435 \u043a\u0456\u0440\u0456\u0441\u043f\u0435<\/h1>\n<p>\n\u0421\u04d9\u043b\u0435\u043c, \u0425\u0430\u0431\u0440! \u041d\u0430\u0437\u0430\u0440\u043b\u0430\u0440\u044b\u04a3\u044b\u0437\u0493\u0430 \u04e9\u0437\u0456\u043c\u0435 \u049b\u044b\u0437\u044b\u049b \u043a\u04e9\u0440\u0456\u043d\u0433\u0435\u043d OSTEP \u0430\u0442\u0442\u044b \u043a\u0456\u0442\u0430\u043f\u0442\u044b\u04a3 \u0430\u0443\u0434\u0430\u0440\u043c\u0430\u0441\u044b\u043d\u0430\u043d \u0442\u04b1\u0440\u0430\u0442\u044b\u043d \u043c\u0430\u049b\u0430\u043b\u0430\u043b\u0430\u0440 \u0442\u043e\u043f\u0442\u0430\u043c\u0430\u0441\u044b\u043d \u04b1\u0441\u044b\u043d\u0430\u043c\u044b\u043d. \u0411\u04b1\u043b \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0434\u0430 Unix-\u0442\u0435\u043a\u0442\u0435\u0441 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043b\u044b\u049b \u0436\u04af\u0439\u0435\u043b\u0435\u0440\u0434\u0456\u04a3 \u0436\u04b1\u043c\u044b\u0441\u044b \u0442\u0435\u0440\u0435\u04a3\u0456\u0440\u0435\u043a \u049b\u0430\u0440\u0430\u0441\u0442\u044b\u0440\u044b\u043b\u0430\u0434\u044b. \u0410\u0442\u0430\u043f \u0430\u0439\u0442\u049b\u0430\u043d\u0434\u0430, \u043f\u0440\u043e\u0446\u0435\u0441\u0442\u0435\u0440\u043c\u0435\u043d, \u0442\u04af\u0440\u043b\u0456 \u0436\u043e\u0441\u043f\u0430\u0440\u043b\u0430\u0493\u044b\u0448\u0442\u0430\u0440\u043c\u0435\u043d, \u0436\u0430\u0434\u043f\u0435\u043d \u0436\u04d9\u043d\u0435 \u0437\u0430\u043c\u0430\u043d\u0430\u0443\u0438 \u041e\u0416-\u043d\u044b \u049b\u04b1\u0440\u0430\u0439\u0442\u044b\u043d \u0431\u0430\u0441\u049b\u0430 \u0434\u0430 \u04b1\u049b\u0441\u0430\u0441 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0442\u0435\u0440\u043c\u0435\u043d \u0436\u04b1\u043c\u044b\u0441 \u0456\u0441\u0442\u0435\u0443 \u0441\u04e9\u0437 \u0431\u043e\u043b\u0430\u0434\u044b. \u041c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0434\u0430\u0440\u0434\u044b\u04a3 \u0442\u04af\u043f\u043d\u04b1\u0441\u049b\u0430\u0441\u044b\u043d \u043c\u044b\u043d\u0430 \u0436\u0435\u0440\u0434\u0435\u043d \u043a\u04e9\u0440\u0435 \u0430\u043b\u0430\u0441\u044b\u0437 <noindex><a rel=\"nofollow\" href=\"http:\/\/pages.cs.wisc.edu\/~remzi\/OSTEP\/\">\u043e\u0441\u044b\u043d\u0434\u0430<\/a><\/noindex>. \u0410\u0443\u0434\u0430\u0440\u043c\u0430\u043d\u044b \u043a\u04d9\u0441\u0456\u0431\u0438 \u043c\u0430\u043c\u0430\u043d \u0436\u0430\u0441\u0430\u043c\u0430\u0493\u0430\u043d\u044b\u043d (\u0442\u04af\u043f\u043d\u04b1\u0441\u049b\u0430\u0434\u0430\u043d \u0431\u0456\u0440\u0448\u0430\u043c\u0430 \u0435\u0440\u043a\u0456\u043d \u0430\u0443\u0434\u0430\u0440\u044b\u043b\u0493\u0430\u043d\u044b\u043d) \u0435\u0441\u043a\u0435\u0440\u0456\u04a3\u0456\u0437. \u0414\u0435\u0433\u0435\u043d\u043c\u0435\u043d \u043d\u0435\u0433\u0456\u0437\u0433\u0456 \u043c\u0430\u0493\u044b\u043d\u0430\u0441\u044b\u043d \u0441\u0430\u049b\u0442\u0430\u043f \u049b\u0430\u043b\u0434\u044b\u043c \u0434\u0435\u043f \u04af\u043c\u0456\u0442\u0442\u0435\u043d\u0435\u043c\u0456\u043d.<\/p>\n<p>\u0411\u04b1\u043b \u043f\u04d9\u043d \u0431\u043e\u0439\u044b\u043d\u0448\u0430 \u0437\u0435\u0440\u0442\u0445\u0430\u043d\u0430\u043b\u044b\u049b \u0436\u04b1\u043c\u044b\u0441\u0442\u0430\u0440\u0434\u044b \u043c\u044b\u043d\u0430 \u0436\u0435\u0440\u0434\u0435\u043d \u0442\u0430\u0431\u0430 \u0430\u043b\u0430\u0441\u044b\u0437:<\/p>\n<ul>\n<li><noindex><a rel=\"nofollow\" href=\"http:\/\/pages.cs.wisc.edu\/~remzi\/OSTEP\/Homework\/homework.html\">\u0442\u04af\u043f\u043d\u04b1\u0441\u049b\u0430<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/remzi-arpacidusseau\/ostep-code\">\u0442\u04af\u043f\u043d\u04b1\u0441\u049b\u0430<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/bykvaadm\/OS\/tree\/master\/ostep\">\u04e9\u0437\u0456\u043c\u043d\u0456\u04a3 \u0431\u0435\u0439\u0456\u043c\u0434\u0435\u043f \u0430\u0443\u0434\u0430\u0440\u0493\u0430\u043d \u043d\u04b1\u0441\u049b\u0430\u043c<\/a><\/noindex><\/li>\n<\/ul>\n<p>\n\u0411\u0430\u0441\u049b\u0430 \u0431\u04e9\u043b\u0456\u043c\u0434\u0435\u0440:<\/p>\n<ul>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/post\/446340\/\">1-\u0431\u04e9\u043b\u0456\u043c: \u041a\u0456\u0440\u0456\u0441\u043f\u0435<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/post\/446866\/\">2-\u0431\u04e9\u043b\u0456\u043c: \u0410\u0431\u0441\u0442\u0440\u0430\u043a\u0446\u0438\u044f: \u043f\u0440\u043e\u0446\u0435\u0441\u0441<\/a><\/noindex><\/li>\n<li><noindex><a rel=\"nofollow\" href=\"https:\/\/habr.com\/en\/post\/447182\/\">3-\u0431\u04e9\u043b\u0456\u043c: \u041f\u0440\u043e\u0446\u0435\u0441\u0442\u0435\u0440 API-\u0456\u043d\u0435 \u043a\u0456\u0440\u0456\u0441\u043f\u0435<\/a><\/noindex><\/li>\n<\/ul>\n<p>\n\u0421\u043e\u043d\u0434\u0430\u0439-\u0430\u049b, \u043c\u0435\u043d\u0456\u04a3 \u0430\u0440\u043d\u0430\u043c\u0430 \u043c\u044b\u043d\u0430 \u0436\u0435\u0440\u0434\u0435\u043d \u0436\u0430\u0437\u044b\u043b\u0430 \u0430\u043b\u0430\u0441\u044b\u0437: <noindex><a rel=\"nofollow\" href=\"https:\/\/t.me\/bykvaadm\">Telegram<\/a><\/noindex> =)<br \/>\n<noindex><a rel=\"nofollow\" name=\"habracut\"><\/a><\/noindex><br \/>\n<b>\u041d\u0430\u0437\u0430\u0440 \u0430\u0443\u0434\u0430\u0440\u044b\u04a3\u044b\u0437!<\/b> \u0411\u04b1\u043b \u0434\u04d9\u0440\u0456\u0441\u043a\u0435 \u0437\u0435\u0440\u0442\u0445\u0430\u043d\u0430\u043b\u044b\u049b \u0436\u04b1\u043c\u044b\u0441 \u0442\u0430 \u0431\u0430\u0440! \u049a\u0430\u0440\u0430\u04a3\u044b\u0437 <noindex><a rel=\"nofollow\" href=\"https:\/\/github.com\/bykvaadm\/OS\/tree\/master\/ostep\">GitHub<\/a><\/noindex><\/p>\n<h2>Process API<\/h2>\n<p>UNIX \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0442\u0456 \u049b\u04b1\u0440\u0443 \u043c\u044b\u0441\u0430\u043b\u044b\u043d \u049b\u0430\u0440\u0430\u0441\u0442\u044b\u0440\u0430\u0439\u044b\u049b. \u0411\u04b1\u043b \u0435\u043a\u0456 \u0436\u04af\u0439\u0435\u043b\u0456\u043a \u0448\u0430\u049b\u044b\u0440\u0443 \u0430\u0440\u049b\u044b\u043b\u044b \u043e\u0440\u044b\u043d\u0434\u0430\u043b\u0430\u0434\u044b: <b>fork()<\/b> \u0436\u04d9\u043d\u0435 <b>exec()<\/b>.<\/p>\n<h3>fork() \u0448\u0430\u049b\u044b\u0440\u0443\u044b<\/h3>\n<p>\n<img decoding=\"async\" alt=\"\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043b\u044b\u049b \u0436\u04af\u0439\u0435\u043b\u0435\u0440: \u04af\u0448 \u049b\u0430\u0440\u0430\u043f\u0430\u0439\u044b\u043c \u0431\u04e9\u043b\u0456\u043c. 3-\u0431\u04e9\u043b\u0456\u043c: \u041f\u0440\u043e\u0446\u0435\u0441\u0442\u0435\u0440 API-\u0456 (\u0430\u0443\u0434\u0430\u0440\u043c\u0430)\" src=\"\/wp-content\/uploads\/2019\/04\/c0c39726560e18a82ae05a31b43f92c0.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\nfork() \u0448\u0430\u049b\u044b\u0440\u0443\u044b\u043d \u043e\u0440\u044b\u043d\u0434\u0430\u0439\u0442\u044b\u043d \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u043d\u044b \u049b\u0430\u0440\u0430\u0441\u0442\u044b\u0440\u0430\u0439\u044b\u049b. \u041e\u043d\u044b\u04a3 \u043e\u0440\u044b\u043d\u0434\u0430\u043b\u0443 \u043d\u04d9\u0442\u0438\u0436\u0435\u0441\u0456 \u0442\u04e9\u043c\u0435\u043d\u0434\u0435\u0433\u0456\u0434\u0435\u0439 \u0431\u043e\u043b\u0430\u0434\u044b.<\/p>\n<p><img decoding=\"async\" alt=\"\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043b\u044b\u049b \u0436\u04af\u0439\u0435\u043b\u0435\u0440: \u04af\u0448 \u049b\u0430\u0440\u0430\u043f\u0430\u0439\u044b\u043c \u0431\u04e9\u043b\u0456\u043c. 3-\u0431\u04e9\u043b\u0456\u043c: \u041f\u0440\u043e\u0446\u0435\u0441\u0442\u0435\u0440 API-\u0456 (\u0430\u0443\u0434\u0430\u0440\u043c\u0430)\" src=\"\/wp-content\/uploads\/2019\/04\/3ddddbaf5bbb38e9882827da0513805a.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u0410\u043b\u0434\u044b\u043c\u0435\u043d main() \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0441\u044b\u043d\u0430 \u043a\u0456\u0440\u0456\u043f, \u044d\u043a\u0440\u0430\u043d\u0493\u0430 \u0436\u043e\u043b\u0434\u044b \u0448\u044b\u0493\u0430\u0440\u0430\u043c\u044b\u0437. \u0411\u04b1\u043b \u0436\u043e\u043b\u0434\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0442\u0456\u04a3 \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440\u044b \u0431\u0435\u0440\u0456\u043b\u0435\u0434\u0456, \u043e\u043d\u044b\u04a3 \u0442\u04af\u043f\u043d\u04b1\u0441\u049b\u0430\u0434\u0430\u0493\u044b \u0430\u0442\u0430\u0443\u044b <b>PID<\/b> \u043d\u0435\u043c\u0435\u0441\u0435 process identifier. \u0411\u04b1\u043b \u0438\u0434\u0435\u043d\u0442\u0438\u0444\u0438\u043a\u0430\u0442\u043e\u0440 UNIX \u0436\u04af\u0439\u0435\u0441\u0456\u043d\u0434\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u043a\u0435 \u0436\u04af\u0433\u0456\u043d\u0443 \u04af\u0448\u0456\u043d \u049b\u043e\u043b\u0434\u0430\u043d\u044b\u043b\u0430\u0434\u044b. \u041a\u0435\u043b\u0435\u0441\u0456 \u043f\u04d9\u0440\u043c\u0435\u043d fork() \u0448\u0430\u049b\u044b\u0440\u0443\u044b\u043d \u043e\u0440\u044b\u043d\u0434\u0430\u0439\u0434\u044b. \u041e\u0441\u044b \u0441\u04d9\u0442\u0442\u0435 \u043f\u0440\u043e\u0446\u0435\u0441\u0442\u0456\u04a3 \u0434\u0435\u0440\u043b\u0456\u043a \u0434\u04d9\u043b \u043a\u04e9\u0448\u0456\u0440\u043c\u0435\u0441\u0456 \u0436\u0430\u0441\u0430\u043b\u0430\u0434\u044b. \u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043b\u044b\u049b \u0436\u04af\u0439\u0435 \u043c\u04b1\u043d\u044b \u0436\u04af\u0439\u0435\u0434\u0435 \u0431\u0456\u0440 \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u043d\u044b\u04a3 \u0435\u043a\u0456 \u043a\u04e9\u0448\u0456\u0440\u043c\u0435\u0441\u0456 \u049b\u0430\u0442\u0430\u0440 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u044b\u043b\u0493\u0430\u043d\u0434\u0430\u0439 \u049b\u0430\u0431\u044b\u043b\u0434\u0430\u0439\u0434\u044b. \u0415\u043a\u0456 \u043a\u04e9\u0448\u0456\u0440\u043c\u0435 \u0434\u0435 fork() \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0441\u044b\u043d\u0430\u043d \u0448\u044b\u049b\u049b\u0430\u043d\u043d\u0430\u043d \u043a\u0435\u0439\u0456\u043d \u043e\u0440\u044b\u043d\u0434\u0430\u043b\u0443\u044b\u043d \u0436\u0430\u043b\u0493\u0430\u0441\u0442\u044b\u0440\u0430\u0434\u044b. \u0416\u0430\u04a3\u0430\u0434\u0430\u043d \u0436\u0430\u0441\u0430\u043b\u0493\u0430\u043d \u0435\u043d\u0448\u0456\u043b\u0435\u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0430\u0442\u0430-\u0430\u043d\u0430\u043b\u044b\u049b \u043f\u0440\u043e\u0446\u0435\u0441\u0442\u0456 \u049b\u04b1\u0440\u0493\u0430\u043d \u043d\u04af\u043a\u0442\u0435\u0434\u0435\u043d \u0431\u0430\u0441\u0442\u0430\u043f \u0436\u0430\u043b\u0493\u0430\u0441\u0442\u044b\u0440\u0430\u0434\u044b, main() \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0441\u044b\u043d\u0430\u043d \u049b\u0430\u0439\u0442\u0430 \u0431\u0430\u0441\u0442\u0430\u043c\u0430\u0439\u0434\u044b. \u0415\u043d\u0448\u0456\u043b\u0435\u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0430\u0442\u0430-\u0430\u043d\u0430\u043b\u044b\u049b \u043f\u0440\u043e\u0446\u0435\u0441\u0442\u0456\u04a3 \u0434\u04d9\u043b \u043a\u04e9\u0448\u0456\u0440\u043c\u0435\u0441\u0456 \u0435\u043c\u0435\u0441 \u0435\u043a\u0435\u043d\u0456\u043d \u0435\u0441\u043a\u0435\u0440\u0433\u0435\u043d \u0436\u04e9\u043d. \u0410\u0442\u0430\u043f \u0430\u0439\u0442\u049b\u0430\u043d\u0434\u0430, \u043e\u043d\u044b\u04a3 \u0436\u0435\u043a\u0435 \u0430\u0434\u0440\u0435\u0441\u0442\u0456\u043a \u043a\u0435\u04a3\u0456\u0441\u0442\u0456\u0433\u0456, \u0440\u0435\u0433\u0438\u0441\u0442\u0440\u043b\u0435\u0440\u0456, \u043e\u0440\u044b\u043d\u0434\u0430\u043b\u0430\u0442\u044b\u043d \u043d\u04b1\u0441\u049b\u0430\u0443\u043b\u0430\u0440\u0434\u044b \u043a\u04e9\u0440\u0441\u0435\u0442\u0435\u0442\u0456\u043d \u043d\u04b1\u0441\u049b\u0430\u0493\u044b\u0448\u044b \u0436\u04d9\u043d\u0435 \u0431\u0430\u0441\u049b\u0430 \u0434\u0430 \u0440\u0435\u0441\u0443\u0440\u0441\u0442\u0430\u0440\u044b \u0431\u043e\u043b\u0430\u0434\u044b. \u0421\u043e\u043d\u0434\u044b\u049b\u0442\u0430\u043d fork() \u0444\u0443\u043d\u043a\u0446\u0438\u044f\u0441\u044b\u043d \u0448\u0430\u049b\u044b\u0440\u0443\u0448\u044b\u0493\u0430 \u049b\u0430\u0439\u0442\u0430\u0440\u044b\u043b\u0430\u0442\u044b\u043d \u043c\u04d9\u043d \u04d9\u0440\u0442\u04af\u0440\u043b\u0456 \u0431\u043e\u043b\u0430\u0434\u044b. \u0410\u0442\u0430-\u0430\u043d\u0430\u043b\u044b\u049b \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u049b\u0430\u0439\u0442\u0430\u0440\u044b\u043b\u0430\u0442\u044b\u043d \u043c\u04d9\u043d \u0440\u0435\u0442\u0456\u043d\u0434\u0435 \u0435\u043d\u0448\u0456\u043b\u0435\u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0442\u0456\u04a3 PID \u043c\u04d9\u043d\u0456\u043d \u0430\u043b\u0430\u0434\u044b, \u0430\u043b \u0435\u043d\u0448\u0456\u043b\u0435\u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 0 \u043c\u04d9\u043d\u0456\u043d \u0430\u043b\u0430\u0434\u044b. \u041e\u0441\u044b \u049b\u0430\u0439\u0442\u0430\u0440\u044b\u043b\u0430\u0442\u044b\u043d \u043c\u04d9\u043d\u0434\u0435\u0440 \u0430\u0440\u049b\u044b\u043b\u044b \u043f\u0440\u043e\u0446\u0435\u0441\u0442\u0435\u0440\u0434\u0456 \u0430\u0436\u044b\u0440\u0430\u0442\u044b\u043f, \u04d9\u0440\u049b\u0430\u0439\u0441\u044b\u0441\u044b\u043d\u0430 \u04e9\u0437 \u043c\u0456\u043d\u0434\u0435\u0442\u0456\u043d \u043e\u0440\u044b\u043d\u0434\u0430\u0442\u0443\u0493\u0430 \u0431\u043e\u043b\u0430\u0434\u044b. \u0414\u0435\u0433\u0435\u043d\u043c\u0435\u043d, \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u043d\u044b\u04a3 \u043e\u0440\u044b\u043d\u0434\u0430\u043b\u0443 \u0440\u0435\u0442\u0456 \u043d\u0430\u049b\u0442\u044b \u0430\u043d\u044b\u049b\u0442\u0430\u043b\u043c\u0430\u0493\u0430\u043d. \u0415\u043a\u0456 \u043f\u0440\u043e\u0446\u0435\u0441\u043a\u0435 \u0431\u04e9\u043b\u0456\u043d\u0433\u0435\u043d\u043d\u0435\u043d \u043a\u0435\u0439\u0456\u043d \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043b\u044b\u049b \u0436\u04af\u0439\u0435 \u043e\u043b\u0430\u0440\u0434\u044b\u04a3 \u043e\u0440\u044b\u043d\u0434\u0430\u043b\u0443\u044b\u043d \u049b\u0430\u0434\u0430\u0493\u0430\u043b\u0430\u043f, \u0436\u043e\u0441\u043f\u0430\u0440\u043b\u0430\u0439\u0434\u044b. \u0411\u0456\u0440 \u044f\u0434\u0440\u043e\u043b\u044b \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u043e\u0440\u0434\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0442\u0435\u0440\u0434\u0456\u04a3 \u0431\u0456\u0440\u0456, \u0431\u04b1\u043b \u0436\u0430\u0493\u0434\u0430\u0439\u0434\u0430 \u0430\u0442\u0430-\u0430\u043d\u0430\u043b\u044b\u049b \u043f\u0440\u043e\u0446\u0435\u0441\u0441, \u0436\u04b1\u043c\u044b\u0441\u044b\u043d \u0436\u0430\u043b\u0493\u0430\u0441\u0442\u044b\u0440\u0430\u0434\u044b, \u0441\u043e\u0434\u0430\u043d \u043a\u0435\u0439\u0456\u043d \u0431\u0430\u0441\u049b\u0430\u0440\u0443\u0434\u044b \u0435\u043d\u0448\u0456\u043b\u0435\u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0430\u043b\u0430\u0434\u044b. \u0411\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u043d\u044b \u049b\u0430\u0439\u0442\u0430 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u049b\u0430\u043d\u0434\u0430, \u043e\u0440\u044b\u043d\u0434\u0430\u043b\u0443 \u0440\u0435\u0442\u0456 \u0431\u0430\u0441\u049b\u0430\u0448\u0430 \u0431\u043e\u043b\u0443\u044b \u043c\u04af\u043c\u043a\u0456\u043d.<\/p>\n<h3>wait() \u0448\u0430\u049b\u044b\u0440\u0443\u044b<\/h3>\n<p>\n<img decoding=\"async\" alt=\"\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043b\u044b\u049b \u0436\u04af\u0439\u0435\u043b\u0435\u0440: \u04af\u0448 \u049b\u0430\u0440\u0430\u043f\u0430\u0439\u044b\u043c \u0431\u04e9\u043b\u0456\u043c. 3-\u0431\u04e9\u043b\u0456\u043c: \u041f\u0440\u043e\u0446\u0435\u0441\u0442\u0435\u0440 API-\u0456 (\u0430\u0443\u0434\u0430\u0440\u043c\u0430)\" src=\"\/wp-content\/uploads\/2019\/04\/abb10671424f1889fbbb3facae739029.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u041a\u0435\u043b\u0435\u0441\u0456 \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u043d\u044b \u049b\u0430\u0440\u0430\u0441\u0442\u044b\u0440\u0430\u0439\u044b\u049b. \u0411\u04b1\u043b \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u0434\u0430 <b>wait()<\/b> \u0448\u0430\u049b\u044b\u0440\u0443\u044b\u043d\u044b\u04a3 \u0430\u0440\u049b\u0430\u0441\u044b\u043d\u0434\u0430 \u0430\u0442\u0430-\u0430\u043d\u0430\u043b\u044b\u049b \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0435\u043d\u0448\u0456\u043b\u0435\u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0442\u0456\u04a3 \u0436\u04b1\u043c\u044b\u0441\u044b \u0430\u044f\u049b\u0442\u0430\u043b\u0493\u0430\u043d\u0448\u0430 \u043a\u04af\u0442\u0435\u0434\u0456. \u0411\u04b1\u043b \u0436\u0430\u0493\u0434\u0430\u0439\u0434\u0430 \u044d\u043a\u0440\u0430\u043d\u0493\u0430 \u0448\u044b\u0493\u0430\u0442\u044b\u043d \u043c\u04d9\u0442\u0456\u043d\u043d\u0456\u04a3 \u0440\u0435\u0442\u0456 \u0430\u043b\u0434\u044b\u043d \u0430\u043b\u0430 \u0430\u043d\u044b\u049b \u0431\u043e\u043b\u0430\u0434\u044b.<\/p>\n<p><img decoding=\"async\" alt=\"\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043b\u044b\u049b \u0436\u04af\u0439\u0435\u043b\u0435\u0440: \u04af\u0448 \u049b\u0430\u0440\u0430\u043f\u0430\u0439\u044b\u043c \u0431\u04e9\u043b\u0456\u043c. 3-\u0431\u04e9\u043b\u0456\u043c: \u041f\u0440\u043e\u0446\u0435\u0441\u0442\u0435\u0440 API-\u0456 (\u0430\u0443\u0434\u0430\u0440\u043c\u0430)\" src=\"\/wp-content\/uploads\/2019\/04\/7e8ea54531b7717b7b42802550afd27b.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<\/p>\n<h3>exec() \u0448\u0430\u049b\u044b\u0440\u0443\u044b<\/h3>\n<p>\n<img decoding=\"async\" alt=\"\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043b\u044b\u049b \u0436\u04af\u0439\u0435\u043b\u0435\u0440: \u04af\u0448 \u049b\u0430\u0440\u0430\u043f\u0430\u0439\u044b\u043c \u0431\u04e9\u043b\u0456\u043c. 3-\u0431\u04e9\u043b\u0456\u043c: \u041f\u0440\u043e\u0446\u0435\u0441\u0442\u0435\u0440 API-\u0456 (\u0430\u0443\u0434\u0430\u0440\u043c\u0430)\" src=\"\/wp-content\/uploads\/2019\/04\/dfe3a41c03bc35fd716a1b4c3af68c2f.jpg\" style=\"display:block;margin: 0 auto;\" \/><br \/>\n<br \/>\n\u0428\u0430\u049b\u044b\u0440\u0443\u0434\u044b \u049b\u0430\u0440\u0430\u0441\u0442\u044b\u0440\u0430\u0439\u044b\u049b <b>exec()<\/b>. \u0411\u04b1\u043b \u0436\u04af\u0439\u0435\u043b\u0456\u043a \u0448\u0430\u049b\u044b\u0440\u0443 \u043c\u04af\u043b\u0434\u0435 \u0431\u0430\u0441\u049b\u0430 \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u043d\u044b \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443 \u049b\u0430\u0436\u0435\u0442 \u0431\u043e\u043b\u0493\u0430\u043d\u0434\u0430 \u043f\u0430\u0439\u0434\u0430\u043b\u044b. \u041c\u04b1\u043d\u0434\u0430 \u0431\u0456\u0437 <b>execvp()<\/b> \u0421\u04e9\u0437 \u0441\u0430\u043d\u0430\u0439\u0442\u044b\u043d wc \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u0441\u044b\u043d \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443 \u04af\u0448\u0456\u043d. exec() \u0448\u0430\u049b\u044b\u0440\u044b\u043b\u0493\u0430\u043d\u0434\u0430 \u043d\u0435 \u0431\u043e\u043b\u0430\u0434\u044b? \u0411\u04b1\u043b \u0448\u0430\u049b\u044b\u0440\u0443\u0493\u0430 \u043e\u0440\u044b\u043d\u0434\u0430\u043b\u0430\u0442\u044b\u043d \u0444\u0430\u0439\u043b\u0434\u044b\u04a3 \u0430\u0442\u0430\u0443\u044b \u043c\u0435\u043d \u0431\u0456\u0440\u043d\u0435\u0448\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442 \u0440\u0435\u0442\u0456\u043d\u0434\u0435 \u0431\u0435\u0440\u0456\u043b\u0435\u0434\u0456. \u0421\u043e\u0434\u0430\u043d \u043a\u0435\u0439\u0456\u043d \u043e\u0440\u044b\u043d\u0434\u0430\u043b\u0430\u0442\u044b\u043d \u0444\u0430\u0439\u043b\u0434\u0430\u0493\u044b \u043a\u043e\u0434 \u043f\u0435\u043d \u0441\u0442\u0430\u0442\u0438\u043a\u0430\u043b\u044b\u049b \u0434\u0435\u0440\u0435\u043a\u0442\u0435\u0440 \u0436\u04af\u043a\u0442\u0435\u043b\u0456\u043f, \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u043d\u044b\u04a3 \u04e9\u0437 \u043a\u043e\u0434 \u0441\u0435\u0433\u043c\u0435\u043d\u0442\u0456\u043d\u0456\u04a3 \u04af\u0441\u0442\u0456\u043d\u0435\u043d \u0436\u0430\u0437\u044b\u043b\u0430\u0434\u044b. \u0421\u0442\u0435\u043a \u043f\u0435\u043d \u04af\u0439\u043c\u0435 \u0441\u0438\u044f\u049b\u0442\u044b \u0436\u0430\u0434\u0442\u044b\u04a3 \u0431\u0430\u0441\u049b\u0430 \u0430\u0439\u043c\u0430\u049b\u0442\u0430\u0440\u044b \u049b\u0430\u0439\u0442\u0430 \u0438\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f\u043b\u0430\u043d\u0430\u0434\u044b. \u041e\u0434\u0430\u043d \u043a\u0435\u0439\u0456\u043d \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043b\u044b\u049b \u0436\u04af\u0439\u0435 \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u0493\u0430 \u0430\u0440\u0433\u0443\u043c\u0435\u043d\u0442\u0442\u0435\u0440 \u0436\u0438\u044b\u043d\u044b\u043d \u0431\u0435\u0440\u0456\u043f, \u043e\u043d\u044b \u043e\u0440\u044b\u043d\u0434\u0430\u0439\u0434\u044b. \u0414\u0435\u043c\u0435\u043a, \u0431\u0456\u0437 \u0436\u0430\u04a3\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u049b\u04b1\u0440\u0493\u0430\u043d \u0436\u043e\u049b\u043f\u044b\u0437, \u0442\u0435\u043a \u049b\u0430\u0437\u0456\u0440 \u0436\u04b1\u043c\u044b\u0441 \u0456\u0441\u0442\u0435\u043f \u0442\u04b1\u0440\u0493\u0430\u043d \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u043d\u044b \u0431\u0430\u0441\u049b\u0430 \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u0493\u0430 \u0430\u0439\u043d\u0430\u043b\u0434\u044b\u0440\u0434\u044b\u049b. exec() \u0448\u0430\u049b\u044b\u0440\u0443\u044b \u043e\u0440\u044b\u043d\u0434\u0430\u043b\u0493\u0430\u043d \u0441\u043e\u04a3, \u0435\u043d\u0448\u0456\u043b\u0435\u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0442\u0435 \u0431\u0430\u0441\u0442\u0430\u043f\u049b\u044b \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430 \u043c\u04af\u043b\u0434\u0435 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u044b\u043b\u043c\u0430\u0493\u0430\u043d\u0434\u0430\u0439 \u04d9\u0441\u0435\u0440 \u0442\u0443\u0430\u0434\u044b.<\/p>\n<p>Unix shell \u049b\u0430\u0431\u044b\u0493\u044b \u04af\u0448\u0456\u043d \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u0443\u0434\u044b\u04a3 \u043c\u04b1\u043d\u0434\u0430\u0439 \u043a\u04af\u0440\u0434\u0435\u043b\u0456\u043b\u0456\u0433\u0456 \u049b\u0430\u043b\u044b\u043f\u0442\u044b \u0436\u0430\u0493\u0434\u0430\u0439 \u0436\u04d9\u043d\u0435 \u0431\u04b1\u043b \u049b\u0430\u0431\u044b\u049b\u0448\u0430\u0493\u0430 \u0448\u0430\u049b\u044b\u0440\u0443\u0434\u0430\u043d \u043a\u0435\u0439\u0456\u043d \u043a\u043e\u0434 \u043e\u0440\u044b\u043d\u0434\u0430\u0443\u0493\u0430 \u043c\u04af\u043c\u043a\u0456\u043d\u0434\u0456\u043a \u0431\u0435\u0440\u0435\u0434\u0456 <b>fork()<\/b>, \u0431\u0456\u0440\u0430\u049b \u0448\u0430\u049b\u044b\u0440\u0443\u0434\u0430\u043d \u0431\u04b1\u0440\u044b\u043d <b>exec()<\/b>. \u041c\u04b1\u043d\u0434\u0430\u0439 \u043a\u043e\u0434 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u044b\u043b\u0430\u0442\u044b\u043d \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u043d\u044b\u04a3 \u049b\u0430\u0436\u0435\u0442\u0442\u0456\u043b\u0456\u043a\u0442\u0435\u0440\u0456\u043d\u0435 \u0441\u0430\u0439 \u049b\u0430\u0431\u044b\u049b\u0448\u0430 \u043e\u0440\u0442\u0430\u0441\u044b\u043d, \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u043d\u044b \u0442\u0456\u043a\u0435\u043b\u0435\u0439 \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u043f\u0430\u0441 \u0431\u04b1\u0440\u044b\u043d, \u0431\u0430\u043f\u0442\u0430\u0443\u044b \u043c\u04af\u043c\u043a\u0456\u043d.<\/p>\n<p><b>Shell<\/b> \u2014 \u0411\u04b1\u043b \u0436\u0430\u0439 \u0493\u0430\u043d\u0430 \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0443\u0448\u044b \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u0441\u044b. \u041e\u043b \u0441\u0456\u0437\u0433\u0435 \u0448\u0430\u049b\u044b\u0440\u0443 \u0436\u043e\u043b\u044b\u043d \u043a\u04e9\u0440\u0441\u0435\u0442\u0456\u043f, \u043e\u0493\u0430\u043d \u0431\u0456\u0440\u0434\u0435\u04a3\u0435 \u0435\u043d\u0433\u0456\u0437\u0433\u0435\u043d\u0456\u04a3\u0456\u0437\u0434\u0456 \u043a\u04af\u0442\u0435\u0434\u0456. \u041a\u04e9\u043f \u0436\u0430\u0493\u0434\u0430\u0439\u0434\u0430 \u043e\u0493\u0430\u043d \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u043d\u044b\u04a3 \u0430\u0442\u0430\u0443\u044b\u043d \u0435\u043d\u0433\u0456\u0437\u0441\u0435\u04a3\u0456\u0437, shell \u043e\u043d\u044b\u04a3 \u043e\u0440\u043d\u0430\u043b\u0430\u0441\u049b\u0430\u043d \u0436\u0435\u0440\u0456\u043d \u0442\u0430\u0443\u044b\u043f, fork() \u04d9\u0434\u0456\u0441\u0456\u043d \u0448\u0430\u049b\u044b\u0440\u0430\u0434\u044b, \u0441\u043e\u0434\u0430\u043d \u043a\u0435\u0439\u0456\u043d \u0436\u0430\u04a3\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0436\u0430\u0441\u0430\u0443 \u04af\u0448\u0456\u043d exec() \u0442\u04af\u0440\u043b\u0435\u0440\u0456\u043d\u0456\u04a3 \u0431\u0456\u0440\u0456\u043d \u0448\u0430\u049b\u044b\u0440\u044b\u043f, \u043e\u043d\u044b\u04a3 \u043e\u0440\u044b\u043d\u0434\u0430\u043b\u0443\u044b\u043d wait() \u0430\u0440\u049b\u044b\u043b\u044b \u043a\u04af\u0442\u0435\u0434\u0456. \u0415\u043d\u0448\u0456\u043b\u0435\u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441 \u0430\u044f\u049b\u0442\u0430\u043b\u0493\u0430\u043d \u0441\u043e\u04a3, shell wait() \u0448\u0430\u049b\u044b\u0440\u0443\u044b\u043d\u0430\u043d \u043e\u0440\u0430\u043b\u044b\u043f, \u0448\u0430\u049b\u044b\u0440\u0443 \u0436\u043e\u043b\u044b\u043d \u049b\u0430\u0439\u0442\u0430 \u043a\u04e9\u0440\u0441\u0435\u0442\u0435\u0434\u0456 \u0434\u0435, \u043a\u0435\u043b\u0435\u0441\u0456 \u043a\u043e\u043c\u0430\u043d\u0434\u0430\u043d\u044b\u04a3 \u0435\u043d\u0433\u0456\u0437\u0456\u043b\u0443\u0456\u043d \u043a\u04af\u0442\u0435\u0434\u0456.<\/p>\n<p>fork() &amp; exec() \u0442\u04d9\u0441\u0456\u043b\u0434\u0435\u0440\u0456\u043d\u0456\u04a3 \u0431\u04e9\u043b\u0456\u043d\u0443\u0456 shell-\u0433\u0435, \u043c\u044b\u0441\u0430\u043b\u044b, \u043c\u044b\u043d\u0430 \u04d9\u0440\u0435\u043a\u0435\u0442\u0442\u0435\u0440\u0434\u0456 \u043e\u0440\u044b\u043d\u0434\u0430\u0443\u0493\u0430 \u043c\u04af\u043c\u043a\u0456\u043d\u0434\u0456\u043a \u0431\u0435\u0440\u0435\u0434\u0456:<br \/>\n<b>wc file &gt; new_file.<\/b><\/p>\n<p>\u0411\u04b1\u043b \u043c\u044b\u0441\u0430\u043b\u0434\u0430 wc \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u0441\u044b\u043d\u044b\u04a3 \u0448\u044b\u0493\u044b\u0441\u044b \u0444\u0430\u0439\u043b\u0493\u0430 \u0431\u0430\u0493\u044b\u0442\u0442\u0430\u043b\u0430\u0434\u044b. Shell \u043c\u04b1\u043d\u044b \u049b\u0430\u0440\u0430\u043f\u0430\u0439\u044b\u043c \u0436\u043e\u043b\u043c\u0435\u043d \u0436\u04af\u0437\u0435\u0433\u0435 \u0430\u0441\u044b\u0440\u0430\u0434\u044b: \u0435\u043d\u0448\u0456\u043b\u0435\u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0442\u0456 \u0436\u0430\u0441\u0430\u0443 \u043a\u0435\u0437\u0456\u043d\u0434\u0435, <b>exec()<\/b>, shell \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u0442\u044b \u0448\u044b\u0493\u044b\u0441 \u0430\u0493\u044b\u043d\u044b\u043d \u0436\u0430\u0443\u044b\u043f, \u0444\u0430\u0439\u043b\u0434\u044b \u0430\u0448\u0430\u0434\u044b <b>new_file<\/b>, \u043e\u0441\u044b\u043b\u0430\u0439\u0448\u0430, \u043a\u0435\u0439\u0456\u043d \u0456\u0441\u043a\u0435 \u049b\u043e\u0441\u044b\u043b\u0493\u0430\u043d \u0431\u0430\u0493\u0434\u0430\u0440\u043b\u0430\u043c\u0430\u043d\u044b\u04a3 \u0431\u04af\u043a\u0456\u043b \u0448\u044b\u0493\u044b\u0441\u044b <b>wc<\/b> \u044d\u043a\u0440\u0430\u043d\u043d\u044b\u04a3 \u043e\u0440\u043d\u044b\u043d\u0430 \u0444\u0430\u0439\u043b\u0493\u0430 \u0431\u0430\u0493\u044b\u0442\u0442\u0430\u043b\u0430\u0434\u044b.<\/p>\n<p><b>Unix \u049b\u04b1\u0431\u044b\u0440\u043b\u0430\u0440\u044b<\/b> \u04b1\u049b\u0441\u0430\u0441 \u0442\u04d9\u0441\u0456\u043b\u043c\u0435\u043d \u0456\u0441\u043a\u0435 \u0430\u0441\u044b\u0440\u044b\u043b\u0430\u0434\u044b, \u0430\u0439\u044b\u0440\u043c\u0430\u0448\u044b\u043b\u044b\u0493\u044b \u2014 \u043e\u043b\u0430\u0440 pipe() \u0448\u0430\u049b\u044b\u0440\u0443\u044b\u043d \u043f\u0430\u0439\u0434\u0430\u043b\u0430\u043d\u0430\u0434\u044b. \u0411\u04b1\u043b \u0436\u0430\u0493\u0434\u0430\u0439\u0434\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0442\u0456\u04a3 \u0448\u044b\u0493\u044b\u0441 \u0430\u0493\u044b\u043d\u044b \u044f\u0434\u0440\u043e \u0456\u0448\u0456\u043d\u0434\u0435 \u043e\u0440\u043d\u0430\u043b\u0430\u0441\u049b\u0430\u043d pipe \u043a\u0435\u0437\u0435\u0433\u0456\u043d\u0435 \u0436\u0430\u043b\u0493\u0430\u043d\u0430\u0434\u044b, \u0430\u043b \u043e\u0493\u0430\u043d \u0431\u0430\u0441\u049b\u0430 \u043f\u0440\u043e\u0446\u0435\u0441\u0442\u0456\u04a3 \u043a\u0456\u0440\u0456\u0441 \u0430\u0493\u044b\u043d\u044b \u049b\u043e\u0441\u044b\u043b\u0430\u0434\u044b.<br \/>\n<br \/>\u0414\u0435\u0440\u0435\u043a\u043a\u04e9\u0437: <a content=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/habr.com\/ru\/post\/447182\/\">habr.com<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440! \u0425\u043e\u0447\u0443 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0430\u0448\u0435\u043c\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044e \u0441\u0435\u0440\u0438\u044e \u0441\u0442\u0430\u0442\u0435\u0439-\u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u043e\u0434\u043d\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0439 \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u2014 OSTEP. \u0412 \u044d\u0442\u043e\u043c \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u0435 \u0440\u0430\u0441\u0441\u043c\u0430\u0442\u0440\u0438\u0432\u0430\u0435\u0442\u0441\u044f \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0433\u043b\u0443\u0431\u043e\u043a\u043e \u0440\u0430\u0431\u043e\u0442\u0430 unix-\u043f\u043e\u0434\u043e\u0431\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c, \u0430 \u0438\u043c\u0435\u043d\u043d\u043e \u2014 \u0440\u0430\u0431\u043e\u0442\u0430 \u0441 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c\u0438, \u0440\u0430\u0437\u043b\u0438\u0447\u043d\u044b\u043c\u0438 \u043f\u043b\u0430\u043d\u0438\u0440\u043e\u0432\u0449\u0438\u043a\u0430\u043c\u0438, \u043f\u0430\u043c\u044f\u0442\u044c\u044e \u0438 \u043f\u0440\u043e\u0447\u0438\u0438\u043c\u0438 \u043f\u043e\u0434\u043e\u0431\u043d\u044b\u043c\u0438 \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u0430\u043c\u0438, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u0441\u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0441\u043e\u0432\u0440\u0435\u043c\u0435\u043d\u043d\u0443\u044e \u041e\u0421. \u041e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0432\u0441\u0435\u0445 \u043c\u0430\u0442\u0435\u0440\u0438\u0430\u043b\u043e\u0432 \u0432\u044b \u043c\u043e\u0436\u0435\u0442\u0435 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0435\u0442\u044c \u0432\u043e\u0442 \u0442\u0443\u0442. [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":23195,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[688],"tags":[],"class_list":["post-31229","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-administrirovanie"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.6.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440! \u0425\u043e\u0447\u0443 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0430\u0448\u0435\u043c\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044e \u0441\u0435\u0440\u0438\u044e \u0441\u0442\u0430\u0442\u0435\u0439-\u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u043e\u0434\u043d\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0439 \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u2014 OSTEP.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/kk\/blog\/administrirovanie\/operating-systems-three-easy-pieces-part-3-process-api-perevod\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.6.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47Operating Systems: Three Easy Pieces. Part 3: Process API (\u043f\u0435\u0440\u0435\u0432\u043e\u0434) | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440! \u0425\u043e\u0447\u0443 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0430\u0448\u0435\u043c\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044e \u0441\u0435\u0440\u0438\u044e \u0441\u0442\u0430\u0442\u0435\u0439-\u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u043e\u0434\u043d\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0439 \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u2014 OSTEP.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/kk\/blog\/administrirovanie\/operating-systems-three-easy-pieces-part-3-process-api-perevod\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T18:40:10+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T18:40:10+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043b\u044b\u049b \u0436\u04af\u0439\u0435\u043b\u0435\u0440: \u04af\u0448 \u043e\u04a3\u0430\u0439 \u0431\u04e9\u043b\u0456\u043c. 3-\u0431\u04e9\u043b\u0456\u043c: \u041f\u0440\u043e\u0446\u0435\u0441\u0441 API-\u0456 (\u0430\u0443\u0434\u0430\u0440\u043c\u0430) | ProHoster","description":"\u041e\u043f\u0435\u0440\u0430\u0446\u0438\u044f\u043b\u044b\u049b \u0436\u04af\u0439\u0435\u043b\u0435\u0440\u0433\u0435 \u043a\u0456\u0440\u0456\u0441\u043f\u0435. \u0421\u04d9\u043b\u0435\u043c, \u0425\u0430\u0431\u0440! \u0421\u0456\u0437\u0434\u0435\u0440\u0433\u0435 \u04e9\u0437\u0456\u043c \u049b\u044b\u0437\u044b\u049b\u0442\u044b \u0434\u0435\u043f \u0442\u0430\u043f\u049b\u0430\u043d OSTEP \u0430\u0442\u0442\u044b \u043a\u0456\u0442\u0430\u043f\u0442\u0430\u043d \u0430\u0443\u0434\u0430\u0440\u044b\u043b\u0493\u0430\u043d \u043c\u0430\u049b\u0430\u043b\u0430\u043b\u0430\u0440 \u0442\u043e\u043f\u0442\u0430\u043c\u0430\u0441\u044b\u043d \u04b1\u0441\u044b\u043d\u0493\u044b\u043c \u043a\u0435\u043b\u0435\u0434\u0456.","canonical_url":"https:\/\/prohoster.info\/kk\/blog\/administrirovanie\/operating-systems-three-easy-pieces-part-3-process-api-perevod","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"en_US","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47Operating Systems: Three Easy Pieces. Part 3: Process API (\u043f\u0435\u0440\u0435\u0432\u043e\u0434) | ProHoster","og:description":"\u0412\u0432\u0435\u0434\u0435\u043d\u0438\u0435 \u0432 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0441\u0438\u0441\u0442\u0435\u043c\u044b \u041f\u0440\u0438\u0432\u0435\u0442, \u0425\u0430\u0431\u0440! \u0425\u043e\u0447\u0443 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0432\u0430\u0448\u0435\u043c\u0443 \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u044e \u0441\u0435\u0440\u0438\u044e \u0441\u0442\u0430\u0442\u0435\u0439-\u043f\u0435\u0440\u0435\u0432\u043e\u0434\u043e\u0432 \u043e\u0434\u043d\u043e\u0439 \u0438\u043d\u0442\u0435\u0440\u0435\u0441\u043d\u043e\u0439 \u043d\u0430 \u043c\u043e\u0439 \u0432\u0437\u0433\u043b\u044f\u0434 \u043b\u0438\u0442\u0435\u0440\u0430\u0442\u0443\u0440\u044b \u2014 OSTEP.","og:url":"https:\/\/prohoster.info\/kk\/blog\/administrirovanie\/operating-systems-three-easy-pieces-part-3-process-api-perevod","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T18:40:10+00:00","article:modified_time":"2019-10-31T18:40:10+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"31229","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-21 05:09:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 03:20:31","updated":"2026-01-21 05:09:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/posts\/31229","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/comments?post=31229"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/posts\/31229\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/media\/23195"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/media?parent=31229"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/categories?post=31229"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/kk\/wp-json\/wp\/v2\/tags?post=31229"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}