NAME basename, dirname - parse pathname components LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include char ... dirname(char * path ); char *basename(char * path ); DESCR…NAME basename, dirname - parse pathname components LIBRARY Standard C library ( libc , -lc ) SYNOPSIS #include char ... dirname(char * path ); char *basename(char * path ); DESCR…global. program_invocation_short_name contains the basename component of name that was usedglobal. program_invocation_short_name contains the basename component of name that was usedoffset of the filename (i.e., basename component) in the pathname given in fpath . leveloffset of the filename (i.e., basename component) in the pathname given in fpath . level