blob: e6a371533ecd6e6c7fe9c8a11f601162ce7e365d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/*
* open() wrapper.
*
* Copyright 1999-2008 Gentoo Foundation
* Licensed under the GPL-2
*/
#define _WRAPPER_ARGS_PROTO const char *pathname, int flags
#define WRAPPER_ARGS_PROTO _WRAPPER_ARGS_PROTO, ...
#define WRAPPER_ARGS_PROTO_FULL _WRAPPER_ARGS_PROTO, mode_t mode
#define WRAPPER_ARGS pathname, flags
#define WRAPPER_ARGS_FULL WRAPPER_ARGS, mode
#define WRAPPER_SAFE() SB_SAFE_OPEN_INT(pathname, flags)
#include "openat.c"
|