/* not a posix function, but implemented with posix kill, getpid */ #include #include #include int raise(int sig) { return kill(getpid(), sig); }