Hallo, 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); [..] If sig is 0, then no signal is sent, but error checking is still performed. RETURN VALUE On success, zero is returned. On error, -1 is returned, and errno is set appropriately. ERRORS [..] ESRCH The pid or process group does not exist. Note that an existing process might be a zombie, a process which already committed termination, but has not yet been wait()ed for. CONFORMING TO SVr4, SVID, POSIX.1, X/OPEN, BSD 4.3 ==== Insbesondere das "Conforming To" sieht gut aus. -dnh -- Weitere üble Beschimpfungen bitte selber einfügen, mehr fällt mir im Moment nicht ein. [Bernd Brodesser zu Henne Vogelsang in suse-talk]