[in] A string containing the path of existing file.
stat_array
[out] The array in which the status will be dropped
Description:
Get status information on a file. This function will add this keys to the array: "st_gid", "st_atime", "st_ctime", "st_dev", "st_ino", "st_mode", "st_mtime", "st_nlink", "st_rdev", "st_size", "st_uid".
Return value:
Returns 0 if the file-status information is obtained. A return value of -1 indicates an error.