open.c 179 B

1234567891011121314
  1. /* $Source$
  2. * $State$
  3. * $Revision$
  4. */
  5. #include <stdlib.h>
  6. #include <errno.h>
  7. #include <unistd.h>
  8. int open(const char* path, int access, ...)
  9. {
  10. errno = EACCES;
  11. return -1;
  12. }