parse pathname components NAME basename, dirname - parse pathname components LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #...parse pathname components NAME basename, dirname - parse pathname components LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #......he scope of program_invocation_name is global. program_invocation_short_name contains the basename component of name that was used to invoke the calling program. That is, it is …...he scope of program_invocation_name is global. program_invocation_short_name contains the basename component of name that was used to invoke the calling program. That is, it is …...type FTW : struct FTW { int base; int level; }; base is the offset of the filename (i.e., basename component) in the pathname given in fpath . level is the depth of fpath in the…...type FTW : struct FTW { int base; int level; }; base is the offset of the filename (i.e., basename component) in the pathname given in fpath . level is the depth of fpath in the…