there is a big mistake in my core.
mistake is function designator is not of function type .
can I help me .
my e_mail:
sunqf1980@163.com
thank
core :
void show_file_info(char *filename ,struct stat *info_p)
{
char *uid_to_name ,*ctime() ,*gid_to_name(),*filemode();
void mode_to_letter();
char modestr[11];
mode_to_letter(info_p->st_mode,modestr) ;
printf("%s",modestr);
* printf("%4d" ,(int)info_p->st_nlink);
* printf("%-8s",uid_to_name(info_p->st_uid));
* printf("%-8s",gid_to_name(info_p->st_gid));
pritnf("%8ld",info_p->st_size); printf("%12s ",4+ctime(&info_p->st_mtime);
printf("%s\n",filename);
}