CBMC
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
signal.c
Go to the documentation of this file.
1/* FUNCTION: kill */
2
3#ifndef __CPROVER_SYS_TYPES_H_INCLUDED
4#include <sys/types.h>
5#define __CPROVER_SYS_TYPES_H_INCLUDED
6#endif
7
8#ifndef __CPROVER_SIGNAL_H_INCLUDED
9#include <signal.h>
10#define __CPROVER_SIGNAL_H_INCLUDED
11#endif
12
14
15int kill(pid_t pid, int sig)
16{
17 (void)pid;
18 (void)sig;
20 return error ? -1 : 0;
21}
ait supplies three of the four components needed: an abstract interpreter (in this case handling func...
Definition ai.h:562
int kill(pid_t pid, int sig)
Definition signal.c:15
__CPROVER_bool __VERIFIER_nondet___CPROVER_bool(void)