path
    The directory hierarchy to be searched.
 function
    The function to be invoked for each file in the directory
    hierarchy.
 depth
    The maximum number of directory streams or file descriptors, or
    both, available for use by ftw. This argument should be in the
    range of 1 to OPEN_MAX.