extras/ignorecase.h
changeset 1380 6ee98510d36c
parent 1379 dc640da825bf
equal deleted inserted replaced
1379:dc640da825bf 1380:6ee98510d36c
    65  *
    65  *
    66  * Each element of the buffer is overwritten with the actual case of an
    66  * Each element of the buffer is overwritten with the actual case of an
    67  *  existing match. If there is no match, the search aborts and reports an
    67  *  existing match. If there is no match, the search aborts and reports an
    68  *  error. Exact matches are favored over case-insensitive matches.
    68  *  error. Exact matches are favored over case-insensitive matches.
    69  *
    69  *
    70  * THIS IS RISKY. Please do not use this function for anything but crappy
    70  * THIS IS RISKY. Please do not use this function for anything but legacy code.
    71  *  legacy code.
       
    72  *
    71  *
    73  *   \param buf Buffer with null-terminated string of path/file to locate.
    72  *   \param buf Buffer with null-terminated string of path/file to locate.
    74  *               This buffer will be modified by this function.
    73  *               This buffer will be modified by this function.
    75  *  \return zero if match was found, -1 if the final element (the file itself)
    74  *  \return zero if match was found, -1 if the final element (the file itself)
    76  *               is missing, -2 if one of the parent directories is missing.
    75  *               is missing, -2 if one of the parent directories is missing.