home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / CLIPPER / MISC / EMXLIB8F.ZIP / EMX / LIB / IO / OPEN.C < prev    next >
Encoding:
C/C++ Source or Header  |  1993-01-02  |  332 b   |  18 lines

  1. /* open.c (emx+gcc) -- Copyright (c) 1990-1993 by Eberhard Mattes */
  2.  
  3. #include <sys/emx.h>
  4. #include <io.h>
  5. #include <stdarg.h>
  6. #include <share.h>
  7.  
  8. int open (const char *name, int oflag, ...)
  9. {
  10.   va_list va;
  11.   int h;
  12.  
  13.   va_start (va, oflag);
  14.   h = _sopen (name, oflag, SH_DENYNO, va);
  15.   va_end (va);
  16.   return (h);
  17. }
  18.