Hi Everyone:
I hope you can help me with this but its driving me nuts and Im not seeing the solution, I'm trying to code my own version of ls -l:
And I'm stuck Im trying to output the total size of the files in a directory, converted the byte size value of st_size by dividing it by 1024 e.g. astatbuff->st_size/1024, now all I need to do is to total these values but for the life of me a cannot get it to work.
Any help would be much appreciated.
Christian