On 2002-05-30 23:01 +0200, Matthias Buelow wrote:
>echo dev writes:
>>I am coding a scheduler. It is going to paste a msg to the screen
>>after a certain time. How might i run this in the background? I
>>tried just casting it into the background with the name& but it
>>did'nt work. I need it to asked the questions and then put it self
>>into the background. If someone could give me some liks to some
>>docs I woould be vary grateful..

Look at daemon(3).  You can make your program do the equivalent of:

        % ./a.out
        [ ask questions & check answers for validity ]
        [ call daemon(3) to become a background process ]

- Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to