564
panic (lemmy.blahaj.zone)

https://defcon.social/@fortyseven/116279569744717982

i miss when the law was trying to seem serious

you are viewing a single comment's thread
view the rest of the comments
[-] verdare@piefed.blahaj.zone 46 points 2 days ago

I don’t see a call to fork(), so there’s clearly no child here.

[-] elvith@feddit.org 18 points 2 days ago
bool isChild() {
  pid_t result= fork()
  return (result == 0)
}
[-] SpaceNoodle@lemmy.world 11 points 2 days ago

Nope. The check should be in a while loop

this post was submitted on 23 Mar 2026
564 points (98.5% liked)

Programmer Humor

30612 readers
1215 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS