Add RUMP_SYS_OPEN define to replace open calls with their RUMP version.
This commit is contained in:
parent
ff3b5e1b34
commit
303ed12957
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: rump.h,v 1.33 2009/11/03 18:22:16 pooka Exp $ */
|
||||
/* $NetBSD: rump.h,v 1.34 2009/12/09 00:23:28 haad Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2007 Antti Kantee. All Rights Reserved.
|
||||
@ -128,6 +128,10 @@ _END_DECLS
|
||||
#define close(a) rump_sys_close(a)
|
||||
#endif /* RUMP_SYS_CLOSE */
|
||||
|
||||
#ifdef RUMP_SYS_OPEN
|
||||
#define open(...) rump_sys_open(__VA_ARGS__)
|
||||
#endif /* RUMP_SYS_OPEN */
|
||||
|
||||
#ifdef RUMP_SYS_READWRITE
|
||||
#define read(a,b,c) rump_sys_read(a,b,c)
|
||||
#define readv(a,b,c) rump_sys_readv(a,b,c)
|
||||
|
Loading…
Reference in New Issue
Block a user