#include <sys/types.h>
#include <signal.h>
int kill(pid_t pid, int sig);
Use this API to send a signal of 0. If the errno is set to ESRCH - then the process had most probably exited.
This contains commentaries in general about programming / network protocols and similar stuff.
#include <sys/types.h>
#include <signal.h>
int kill(pid_t pid, int sig);
No comments:
Post a Comment