Parent Process ID | Write Your Own Shell | Part 2
HTML-ΠΊΠΎΠ΄
- ΠΠΏΡΠ±Π»ΠΈΠΊΠΎΠ²Π°Π½ΠΎ: 6 ΠΈΡΠ½ 2022
- Understand the concept of Parent Process ID in plain English
π Hi thereπππ½, Connect with me on LinkedIn
/ jesse-braide-4a2235243 - ΠΠ°ΡΠΊΠ°
6:40 - "echo $$" gives the Process ID (and Not the PPID) of the current instance of the shell program in the terminal..π
Keep it coming!! We awaiting more..Thank you for this!!!!!!β€οΈπ¦
Thanks for this Jesse...It really clarified things for me.
Keep it coming
Glad it helped.. More sure to come, God helping me..
On windows whenever I am trying to use getppid() for getting the parent id, it is saying that there is no function declared such as getppid(). What might be the reason?
Instead of using the datatype pid_t, I just used the int datatype and it worked just fine.
really, that's aweosome to know
Nice one jesse
ππΎ
like share comment on every video cause we want you to do video on every C-simple shell tasks . we cohort - 7 are on it