2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 06:15:24 +00:00
Files
criu/cr-errno.c
Ruslan Kuprieiev ef283e505c cr-errno: initial commit
Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
2014-12-19 18:58:46 +03:00

13 lines
141 B
C

static int cr_errno;
int get_cr_errno(void)
{
return cr_errno;
}
void set_cr_errno(int new_err)
{
if (!cr_errno)
cr_errno = new_err;
}