forked from Imagelibrary/rtems
New.
This commit is contained in:
21
testsuites/libtests/POSIX/kill.c
Normal file
21
testsuites/libtests/POSIX/kill.c
Normal file
@@ -0,0 +1,21 @@
|
||||
/*
|
||||
* Copyright (c) 2009 by
|
||||
* Ralf Corsépius, Ulm, Germany. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and distribute this software
|
||||
* is freely granted, provided that this notice is preserved.
|
||||
*/
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
int
|
||||
main (void)
|
||||
{
|
||||
pid_t pid = 0;
|
||||
|
||||
kill (pid, SIGHUP);
|
||||
kill (pid, SIGKILL);
|
||||
kill (pid, SIGTERM);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user