close.c 152 B

123456789101112131415
  1. /* $Source$
  2. * $State$
  3. * $Revision$
  4. */
  5. #include <stdlib.h>
  6. #include <errno.h>
  7. #include <unistd.h>
  8. int close(int fd)
  9. {
  10. errno = EBADF;
  11. return -1;
  12. }