CSc 3320 System-Level Programming
Fall 1999
Homework #5
Due: 29 November 1999 (Monday)
Write a C program, called myls, to display file names and their date and time stamps. The program should have a command line parameter which denotes a file specification (which may be an exact file name or a suffix of a file name such as sql or c). The output should look as follows:
% myls sql p1.sql 10-AUG-1996 10:00 AM prog1.sql 16-JAN-1995 12:20 PM p.sql 20-DEC-1995 11:15 AM D ch6sql 20-DEC-1995 11:15 AM qq.sql 11-SEP-1991 03:25 PM %Remarks: