linux - How init() works internally when used in C++ -


init() initial or can daemon process being called on bootup runs till shutdown if won't kill it. so, linux based definition. have doubt whether same definition applicable in c++ environment. appreciated.

there process named init on many1—but not all—linux systems. first process launched kernel , parent or ancestor of processes. init has pid 1.

this process has nothing function might create named init(), in same way function named bash() has no relation shell /bin/bash. not conflate process names function names. 1 has no connection other.


1 many linux systems because init has been replaced systemd in modern linux distros. looks init become historical relic.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -