![]() Printf(" %s", getgrgid(fst.st_gid)->gr_name) Printf(" %s", getpwuid(fst.st_uid)->pw_name) Struct tm * mytime = (struct tm *) malloc(sizeof(struct tm)) Void mode_to_letter(int mode, char *str) call the corresponding function according to parameters The challenge is also that after executing the program, use should be able to type % myls -l and get the results as for command ls -l.Īlso right now I get Segmentation error 11 :( #include So far I only did ls -l, ls -i, and ls -R as I am not sure how to implement ls because there is no argument. I need to implement ls, ls -l, ls -i, and ls -R commands in my C program.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |