diff options
Diffstat (limited to 'bsp/libwrap/sys/close.c')
-rw-r--r-- | bsp/libwrap/sys/close.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bsp/libwrap/sys/close.c b/bsp/libwrap/sys/close.c new file mode 100644 index 0000000..e4f8e14 --- /dev/null +++ b/bsp/libwrap/sys/close.c @@ -0,0 +1,9 @@ +/* See LICENSE of license details. */ + +#include <errno.h> +#include "stub.h" + +int __wrap_close(int fd) +{ + return _stub(EBADF); +} |