Ignore:
Timestamp:
Aug 29, 2005, 5:35:39 AM (20 years ago)
Author:
bird
Message:

o Reworked the open backend, adding directory support. Some O_*

flags was changed in the process, breaking the old ABI.
This is not fully tested.

o Added more BSD fields to struct stat, breaking the old ABI.

The mtime field and ctime fields will now keep the same values
and the creation time is to be found in birthtime. This means that
ctime will be updated in a few places where it doesn't on unix - but
this is probably better than previously where it wasn't ever updated
when it should.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/InnoTekLIBC/backend.h

    • Property cvs2svn:cvs-rev changed from 1.33 to 1.34
    r2315 r2316  
    398398
    399399/**
    400  * Opens a file.
     400 * Opens or creates a file.
    401401 *
    402402 * @returns Filehandle to the opened file on success.
    403403 * @returns Negative error code (errno.h) on failure.
    404404 * @param   pszFile     Path to the file.
    405  * @param   fFlags      Open flags.
     405 * @param   fLibc       The LIBC open flags (O_*).
     406 * @param   fShare      The share flags (SH_*).
    406407 * @param   cbInitial   Initial filesize.
    407408 * @param   Mode        The specified permission mask.
    408  * @param   fLibc       LIBC filehandle flags.
    409409 * @param   ppFH        Where to store the LIBC filehandle structure which was created
    410410 *                      for the opened file.
    411411 */
    412 int __libc_Back_ioFileOpen(const char *pszFile, int fFlags, off_t cbInitial, mode_t Mode, unsigned fLibc, PLIBCFH *ppFH);
     412int __libc_Back_ioFileOpen(const char *pszFile, unsigned fLibc, int fShare, off_t cbInitial, mode_t Mode, PLIBCFH *ppFH);
    413413
    414414/**
Note: See TracChangeset for help on using the changeset viewer.