Changeset 2313 for trunk/src/emx/include


Ignore:
Timestamp:
Aug 28, 2005, 8:19:49 AM (20 years ago)
Author:
bird
Message:

o Fixed lot's of unix attribute (in EA) handling.
o Started preparing for open() to work on directories so

fchdir() can be implemented and opendir reimplemented.
This will break libsocket backwards compatability.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/emx/io.h

    • Property cvs2svn:cvs-rev changed from 1.18 to 1.19
    r2312 r2313  
    6161/** Type - Socket. */
    6262#define F_SOCKET    0x04000000
     63/** Type - Directory. */
     64#define F_DIR       0x05000000
    6365/*      FD_CLOEXEC  0x10000000 (when shifted) */
    6466/** The shift for the file descriptor part of __LIBC_FH::fFlags. */
     
    333335    enmFH_Socket43,
    334336    /** Socket handle (BSD 4.4 stack). */
    335     enmFH_Socket44
     337    enmFH_Socket44,
     338    /** Directory handle. */
     339    enmFH_Directory
    336340} __LIBC_FHTYPE;
    337341
     
    482486     * this file resides on. This might be NULL... */
    483487    __LIBC_PFSINFO          pFsInfo;
     488    /** Pointer to the native path to this file as specified in the open call.
     489     * This is required to read the unix attributes from EAs if the file isn't
     490     * opened with exclusive access. */
     491    char                   *pszNativePath;
    484492} __LIBC_FH;
    485493/** Pointer to filehandle. */
Note: See TracChangeset for help on using the changeset viewer.