I've written a deamon. When is deamon is running he's able to write on the terminal (printf("hello")). Why? The daemon doesn't have a control terminal and isn't in a process group!
: Hi : : I've written a deamon. : When is deamon is running he's able to write on the terminal (printf("hello")). : Why? The daemon doesn't have a control terminal and isn't in a process group! : : plz help : Jannet :
: Hi : : I've written a deamon. : When is deamon is running he's able to write on the terminal (printf("hello")). : Why? The daemon doesn't have a control terminal and isn't in a process group! : : plz help : Jannet :
check out this link - it has some useful info about a daemon's expected behavior
Comments
:
: I've written a deamon.
: When is deamon is running he's able to write on the terminal (printf("hello")).
: Why? The daemon doesn't have a control terminal and isn't in a process group!
:
: plz help
: Jannet
:
did you explicitly close stdout in your daemon?
:
: I've written a deamon.
: When is deamon is running he's able to write on the terminal (printf("hello")).
: Why? The daemon doesn't have a control terminal and isn't in a process group!
:
: plz help
: Jannet
:
check out this link - it has some useful info about a daemon's expected behavior
http://www2.linuxjournal.com/lj-issues/issue47/2335.html