Ignore:
Timestamp:
Mar 16, 2011, 12:30:51 AM (14 years ago)
Author:
bird
Message:

0.6: Backported fpathconf and pathconf reimplementation. Fixes #44.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/libc-0.6/src/emx/include/InnoTekLIBC/backend.h

    r3102 r3695  
    157157 */
    158158void __libc_Back_fsSync(void);
     159
     160/**
     161 * Query filesystem configuration information by path.
     162 *
     163 * @returns 0 on success.
     164 * @returns Negative error code (errno.h) on failure.
     165 * @param   pszPath     Path to query info about.
     166 * @param   iName       Which path config variable to query.
     167 * @param   plValue     Where to return the value.
     168 * @sa      __libc_Back_ioPathConf, fpathconf, pathconf, sysconf.
     169 */
     170int __libc_Back_fsPathConf(const char *pszPath, int iName, long *plValue);
    159171
    160172/**
     
    507519 */
    508520int __libc_Back_ioFHToPath(int fh, char *pszPath, size_t cchPath);
     521
     522/**
     523 * Query filesystem configuration information by file handle.
     524 *
     525 * @returns 0 on success.
     526 * @returns Negative error code (errno.h) on failure.
     527 * @param   fh          The handle to query config info about.
     528 * @param   iName       Which path config variable to query.
     529 * @param   plValue     Where to return the configuration value.
     530 * @sa      __libc_Back_fsPathConf, fpathconf, pathconf, sysconf.
     531 */
     532int __libc_Back_ioPathConf(int fh, int iName, long *plValue);
    509533
    510534/** @} */
Note: See TracChangeset for help on using the changeset viewer.