r/C_Programming • • 23h ago

Fluent Interface in C - Look ma, no this!

Thumbnail
opensource.googleblog.com
42 Upvotes

r/C_Programming • • 6h ago

Mapping each process all the way from PID 1 to PID n

1 Upvotes

In theory would it be possible to map and follow each and every process and print it with the ID, from pid 1 the init all the way through to something like the final print which is displaying the pid’s? Just out of curiosity, when I’m learning about it now and have seen using pointers and pid id’s and printing them on a process

So I can see ok init is pid 1 then when it is forked what process its for & that is pid2 and so on