Skip to content

Comment on Way too many ways to wait on a child process with a timeoutparent

Comments

An interesting aspect of waitid is that it allows you to access the full exit code of the process (i.e., the entire int instead of just the bottom 8 bits).

Unfortunately, many operating systems implement waitid() on top of one of the older APIs, meaning the top bits get lost regardless…

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.