daemon

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

Comments

  • : 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
    :

    did you explicitly close stdout in your daemon?


  • : 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 :)

    http://www2.linuxjournal.com/lj-issues/issue47/2335.html



Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion