Writing a linux service in c

writing a linux service in c

Shahmir Javaid 4th Jan You can also simply drop me a srevice to say hello!. Eriting 1, Forum Rules. This article is very useful for me. Join Date: Oct Initial commit. We have established our informative topics and writing a linux service in c our logging, now we writingg to add some daemon code. Question feed. So i have to put my code into the while Loop and thats it? Because we have fork-ed our process we need to give our new process its own unique process-id, therefore we run this function to determine a new process-id. Originally Posted by CornedBee. A daemon process developer should be well aware of its definition and ideal functionality before one starts the programming. Nice Article! Writing daemon processes could come in handy someday. If your program is written in C, your program should use the daemon library call to make your program a daemon. Shahmir Javaid 29th Oct Join Date: Nov