summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/RISC-V-Qemu-sifive_e-Eclipse-GCC/freedom-e-sdk/libwrap/sys/close.c
blob: fe2dd779efa0458ba047e26e2285a0d1fee25b89 (plain)
1
2
3
4
5
6
7
8
9
10
11
/* See LICENSE of license details. */

#include <errno.h>
#include "stub.h"
#include "weak_under_alias.h"

int __wrap_close(int fd)
{
  return _stub(EBADF);
}
weak_under_alias(close);