TakefiveInteractive / TedkOS

Operating System - ECE 391 Takefive Interactive Team
GNU General Public License v2.0
96 stars 17 forks source link

Implement kill #16

Open tengyifei opened 8 years ago

tengyifei commented 8 years ago

Send a signal. Minimal implementation:

#include <errno.h>
#undef errno
extern int errno;
int kill(int pid, int sig) {
    errno = EINVAL;
    return -1;
}