summaryrefslogtreecommitdiffstats
path: root/include/signames.h
blob: 3f1043a1e81a7c5432f3f42be8dc447fed6ffb6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*
 * No copyright is claimed.  This code is in the public domain; do with
 * it what you wish.
 */
#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 */