mirror of
https://github.com/checkpoint-restore/criu
synced 2025-09-05 08:45:49 +00:00
util: Make open_fmt being more general
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
@@ -156,7 +156,7 @@ int close_safe(int *fd);
|
||||
|
||||
DIR *opendir_proc(char *fmt, ...);
|
||||
FILE *fopen_proc(char *fmt, char *mode, ...);
|
||||
int open_fmt(char *fmt, int pid, int mode);
|
||||
int open_fmt(char *fmt, int mode, ...);
|
||||
|
||||
#define __xalloc(op, size, ...) \
|
||||
({ \
|
||||
|
Reference in New Issue
Block a user