gnome-vfs-parse-ls
int gnome_vfs_parse_ls_lga (const char *p, struct stat *s, char **filename, char **linkname);
const char *p
struct stat *s
char **filename
char **linkname
Parses the string p which is in the form same as the 'ls -al' output and fills in the details in the struct s , filename and linkname .
p
s
filename
linkname
string containing the data in the form same as 'ls -al'.
pointer to stat structure.
filename, will be filled here.
linkname, will be filled here.
0 if cannot parse p , 1 if successful.