Hi all,
I have been using ctime(), localtime(), and time() and I can't seem to find a way to get rid of the "Wed" for example out of the string that results from converting the st_mtime value of the stat struct.
I have, thanks to Salem resuggesting I try chdir(), almost completed my personal rewrite of ls -l, and it is nearly identical to ls -l except for that my output runs out of char space and the filename is printed on the line after all of the other attributes are.
This is very annoying..is the only answer to write your own time function?
Any input would be greatly appreciated!
Thanks,
CHL