Timeline for It is considered a daemon if it runs in the background - creating a daemon in C
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 26, 2022 at 15:53 | comment | added | Mark Bluemel | Unfortunately my copy of en.wikipedia.org/wiki/… is in the office I haven't visited for 2 years. If you're serious about doing this sort of thing, you could do worse than to get hold of a copy. All the details of how to write a daemon and why the various steps are needed , together with so much more. And Richard Stevens was an exemplary technical author. | |
Feb 25, 2022 at 15:14 | answer | added | Davislor | timeline score: 3 | |
Feb 25, 2022 at 14:53 | answer | added | pacmaninbw♦ | timeline score: 3 | |
Feb 22, 2022 at 19:44 | comment | added | Mark | I just exemplified a pipe to a daemon. No, is not a echo server. I just create a daemon that creates a fifo file. | |
Feb 22, 2022 at 19:42 | history | edited | Mark |
edited tags
|
|
Feb 22, 2022 at 14:33 | comment | added | Toby Speight | What does the daemon actually do? That should be the title. I'd edit it myself, but I'm not sure - is it an "echo" server? | |
Feb 22, 2022 at 14:32 | history | edited | Toby Speight | CC BY-SA 4.0 |
Code fence
|
Feb 22, 2022 at 14:31 | comment | added | Toby Speight |
Usually, we expect a daemon to not have a controlling tty. That's why we close fds and double-fork. These days, we can achieve that externally using helpers such as daemonize rather than having to re-implement in every daemon we write.
|
|
Feb 22, 2022 at 11:28 | history | asked | Mark | CC BY-SA 4.0 |