I have this and I keep getting segmentation faults. All I am trying to do is print out the location of a symbolic link. Any suggestions?Code:if( S_ISLNK(mode) ) { type = 'l'; /*symlink*/ readlink(fileName, buf, sizeof(buf)); printf("\n %s \n",buf); }