my problem is I cant find how to access the users name who created each file in a directory
I know using ls -l can tell you this but Im not accessing it from the command line
For finding the size of the files and the times they were last modified I have been using stbuf.st_size and stbuf.st_mtime
both from stat.h
In stat.h there is information for getting UID and GID but I cant find anything for the actual name (user name eg. steve)
Can anyone help
Cheers Steve
I know using ls -l can tell you this but Im not accessing it from the command line
For finding the size of the files and the times they were last modified I have been using stbuf.st_size and stbuf.st_mtime
both from stat.h
In stat.h there is information for getting UID and GID but I cant find anything for the actual name (user name eg. steve)
Can anyone help
Cheers Steve