Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Blame | Last modification | View Log | Download | RSS feed

  1. /* Copyright (C) 1995 DJ Delorie, see COPYING.DJ for details */
  2. #include <libc/stubs.h>
  3. #include <string.h>
  4. #include <fcntl.h>
  5. #include <errno.h>
  6. #include <io.h>
  7. #include <libc/dosio.h>
  8. #include <sys/fsext.h>
  9. #define FSLAYER
  10. #include <menuet/os.h>
  11.  
  12. int _open(const char* filename, int oflag)
  13. {
  14.  int rv;
  15.  if (__FSEXT_call_open_handlers(__FSEXT_open, &rv, &filename))
  16.   return rv;
  17.  return dosemu_open(filename,oflag);
  18. }
  19.