> 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
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
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)
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)
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
>
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
>
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
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
8 matches
Mail list logo