Is there a way to change a forked process` name?
I have seen this behavior by a lot of daemons, and a daemon is what I'm making.
I have one main thread that listens for incoming connections, then spawns a child to deal with it. I would like the child to show up in TOP as
mydaemon serving <hostname>
Most I could find were some shady links on Google pertaining C programming.