diff options
author | Mattias Andrée <maandree@kth.se> | 2020-05-30 21:48:41 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2020-05-30 21:48:41 +0200 |
commit | 261293d374570ee90def87fc5f503cbccb0c6a6c (patch) | |
tree | 826f7e209723051e76b11096d44c97c5e9a0dbc8 /consts.c | |
parent | Add support for tracing fork children (diff) | |
download | sctrace-261293d374570ee90def87fc5f503cbccb0c6a6c.tar.gz sctrace-261293d374570ee90def87fc5f503cbccb0c6a6c.tar.bz2 sctrace-261293d374570ee90def87fc5f503cbccb0c6a6c.tar.xz |
m + add support for tracing vfork children
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'consts.c')
-rw-r--r-- | consts.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -9,6 +9,18 @@ get_errno_name(int err) #define X(N) if (err == N) return #N; LIST_ERRNOS(X) +#ifdef ALSO_ERESTARTSYS + X(ERESTARTSYS) +#endif +#ifdef ALSO_ERESTARTNOINTR + X(ERESTARTNOINTR) +#endif +#ifdef ALSO_ERESTARTNOHAND + X(ERESTARTNOHAND) +#endif +#ifdef ALSO_ERESTART_RESTARTBLOCK + X(ERESTART_RESTARTBLOCK) +#endif #undef X sprintf(buf, "%i", err); |