summaryrefslogtreecommitdiffstats
path: root/include/signames.h
blob: a4fd1bc594035ef2f73bf33e29f6d4ea9da087b1 (plain)
1
2
3
4
5
6
7
8
#ifndef SIGNAMES_H
#define SIGNAMES_H

int signame_to_signum(const char *sig);
const char *signum_to_signame(int signum);
int get_signame_by_idx(size_t idx, const char **signame, int *signum);

#endif /* SIGNAMES_H */