Firmwares/hello-world/bsp/libwrap/sys/close.c

12 lines
184 B
C
Raw Permalink Normal View History

2018-09-25 18:31:29 +02:00
/* See LICENSE of license details. */
#include <errno.h>
#include "stub.h"
2018-09-26 08:07:48 +02:00
#include "weak_under_alias.h"
2018-09-25 18:31:29 +02:00
int __wrap_close(int fd)
{
return _stub(EBADF);
}
2018-09-26 08:07:48 +02:00
weak_under_alias(close);