Ignore:
Timestamp:
Oct 26, 2005, 11:32:29 PM (20 years ago)
Author:
bird
Message:

Implemented getdirents().

File:
1 edited

Legend:

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

    r2423 r2424  
    447447 */
    448448int __libc_Back_ioFileSizeSet(int fh, __off_t cbFile, int fZero);
     449
     450/**
     451 * Reads directory entries from an open directory.
     452 *
     453 * @returns Number of bytes read.
     454 * @returns Negative error code (errno.h) on failure.
     455 *
     456 * @param   fh      The file handle of an open directory.
     457 * @param   pvBuf   Where to store the directory entries.
     458 *                  The returned data is a series of dirent structs with
     459 *                  variable name size. d_reclen must be used the offset
     460 *                  to the next struct (from the start of the current one).
     461 * @param   cbBuf   Size of the buffer.
     462 * @param   poff    Where to store the lseek offset of the first entry.
     463 *
     464 */
     465ssize_t __libc_Back_ioDirGetEntries(int fh, void *pvBuf, size_t cbBuf, __off_t *poff);
    449466
    450467/**
Note: See TracChangeset for help on using the changeset viewer.