Re: Herausfinden ob Prozess zu PID existiert

Bernhard Walle <[email protected]>
Newsgroups gmane.linux.suse.programming
Message-ID <[email protected]>
Hallo,

* David Haller [05.07.2005 20:15]:
> Am Tue, 05 Jul 2005, Thomas Moritz schrieb:
> 
>>Am Dienstag, 5. Juli 2005 19:31 schrieb Bernhard Walle:
>>Eine andere Variante waere noch der Einsatz von kill () 
>>mit Signal 0. [ kill -s 0 <pid> ]
>>Vielleicht laesst sich das besser umsetzten? 
> 
> 
> ==== man 2 kill ====
>        int kill(pid_t pid, int sig);

Ja, die Idee ist gut. So hab ich's dann auch umgesetzt.


Gruß,
Bernhard


-- 
Um die Liste abzubestellen, schicken Sie eine Mail an:
    [email protected]
Um eine Liste aller verfügbaren Kommandos zu bekommen, schicken
Sie eine Mail an: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.