aboutsummaryrefslogtreecommitdiff
path: root/src/lib/include/signal.h
blob: 4b1b58f4c9415b2474e57363b518aa4359c574ea (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <stdatomic.h>

typedef atomic_int sig_atomic_t;

// TODO

#define SIG_DFL 0	// stupid

#define SIGINT 42	// stupid

void (*signal(int sig, void (*func)(int)))(int);



/* vim: set sts=0 ts=4 sw=4 tw=0 noet :*/