Specifically, I need to write a C program where I put inside the pathname of a symbolic link and on output I print only the name of that symbolic link(not the name of the file pointed by the link). What functions and structures I must look at to find this information?
How to find only the name of a link?
filenames;symlink;c