VirtualBox

Changeset 70890 in vbox for trunk/include


Ignore:
Timestamp:
Feb 7, 2018 2:05:43 PM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
120716
Message:

IPRT: dir.c,dir-posix.cpp,direnum-nt.cpp: Implemented RTDIR_F_NO_FOLLOW on posix, adjusted NT implementation and documented the VERR_IS_A_SYMLINK return code for the relevant APIs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/dir.h

    r70884 r70890  
    361361 * Opens a directory with flags and optional filtering.
    362362 *
    363  * @returns iprt status code.
     363 * @returns IPRT status code.
     364 * @retval  VERR_IS_A_SYMLINK if RTDIR_F_NO_FOLLOW is set, @a enmFilter is
     365 *          RTDIRFILTER_NONE and @a pszPath points to a symbolic link and does
     366 *          not end with a slash.  Note that on Windows this does not apply to
     367 *          file symlinks, only directory symlinks, for the file variant
     368 *          VERR_NOT_A_DIRECTORY will be returned.
     369 *
    364370 * @param   phDir       Where to store the open directory handle.
    365371 * @param   pszPath     Path to the directory to search, this must include wildcards.
     
    367373 *                      this function behave like RTDirOpen.
    368374 * @param   fFlags      Open flags, RTDIR_F_XXX.
     375 *
    369376 */
    370377RTDECL(int) RTDirOpenFiltered(RTDIR *phDir, const char *pszPath, RTDIRFILTER enmFilter, uint32_t fFlags);
     
    625632 *
    626633 * @returns IPRT status code.
     634 * @retval  VERR_IS_A_SYMLINK if RTDIR_F_NO_FOLLOW is set, @a enmFilter is
     635 *          RTDIRFILTER_NONE and @a pszPath points to a symbolic link and does
     636 *          not end with a slash.  Note that on Windows this does not apply to
     637 *          file symlinks, only directory symlinks, for the file variant
     638 *          VERR_NOT_A_DIRECTORY will be returned.
     639 *
    627640 * @param   hDir            The directory to open relative to.
    628641 * @param   pszDirAndFilter The relative path to the directory to search, this
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette