Re: Let a daemon process print a message

1999-09-13 Thread bush doctor
> a controlling terminal. > > > > On Mon, 13 Sep 1999, Zhihui Zhang wrote: > > > > > > > > Can anyone tell me how to let a daemon process print a message to the > > > console? Adding printf() does not work (I wonder if a daemon process > > &g

Re: Let a daemon process print a message

1999-09-13 Thread bush doctor
ire > > a controlling terminal. > > > > On Mon, 13 Sep 1999, Zhihui Zhang wrote: > > > > > > > > Can anyone tell me how to let a daemon process print a message to the > > > console? Adding printf() does not work (I wonder if a daemon proce

Re: Let a daemon process print a message

1999-09-13 Thread Zhihui Zhang
gt; > > > Can anyone tell me how to let a daemon process print a message to the > > console? Adding printf() does not work (I wonder if a daemon process > > has been cut of relationship with stdout). Thanks for any help. > > I have tested syslog(). I find out: (1)

Re: Let a daemon process print a message

1999-09-13 Thread Zhihui Zhang
gt; > > > Can anyone tell me how to let a daemon process print a message to the > > console? Adding printf() does not work (I wonder if a daemon process > > has been cut of relationship with stdout). Thanks for any help. > > I have tested syslog(). I find out: (1)

Re: Let a daemon process print a message

1999-09-13 Thread Brian Mitchell (ISSATL)
syslog() with the proper facility is probably the best way to do this. Another possibility is opening /dev/console, but I think that will aquire a controlling terminal. On Mon, 13 Sep 1999, Zhihui Zhang wrote: > > Can anyone tell me how to let a daemon process print a message to the >

Re: Let a daemon process print a message

1999-09-13 Thread Brian Mitchell (ISSATL)
syslog() with the proper facility is probably the best way to do this. Another possibility is opening /dev/console, but I think that will aquire a controlling terminal. On Mon, 13 Sep 1999, Zhihui Zhang wrote: > > Can anyone tell me how to let a daemon process print a message to the >

Let a daemon process print a message

1999-09-13 Thread Zhihui Zhang
Can anyone tell me how to let a daemon process print a message to the console? Adding printf() does not work (I wonder if a daemon process has been cut of relationship with stdout). Thanks for any help. -- Zhihui Zhang. Please visit http

Let a daemon process print a message

1999-09-13 Thread Zhihui Zhang
Can anyone tell me how to let a daemon process print a message to the console? Adding printf() does not work (I wonder if a daemon process has been cut of relationship with stdout). Thanks for any help. -- Zhihui Zhang. Please visit http