561
panic (lemmy.blahaj.zone)
submitted 3 weeks ago by not_IO to c/programmer_humor@programming.dev

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 3 weeks ago

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

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

Nope. The check should be in a while loop

this post was submitted on 23 Mar 2026
561 points (100.0% liked)

Programmer Humor

30937 readers
466 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