mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-31 06:15:24 +00:00
Signed-off-by: Ruslan Kuprieiev <kupruser@gmail.com> Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
13 lines
141 B
C
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;
|
|
}
|