2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 22:35:33 +00:00

Add close_safe helper

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov
2011-09-27 18:28:09 +04:00
parent aff6918b17
commit 401464d22a
2 changed files with 15 additions and 0 deletions

View File

@@ -148,6 +148,7 @@ void printk_vma(struct vma_area *vma_area);
int reopen_fd_as(int new_fd, int old_fd);
int parse_maps(pid_t pid, struct list_head *vma_list);
int close_safe(int *fd);
#define __xalloc(op, size, ...) \
({ \