Stat.l
Description:
[ Version ( since = "2.6" ) ]
[ CCode ( cname = "g_lstat" , instance_pos = -1 ) ]
public Stat.l (string filename)
[ CCode ( cname = "g_lstat" , instance_pos = -1 ) ]
public Stat.l (string filename)
A wrapper for the POSIX lstat function.
The lstat function is like stat except that in the case of symbolic links, it returns information about the symbolic link itself and not the file that it refers to. If the system does not support symbolic links Stat.l is identical to Stat.
See your C library manual for more details about lstat.
Parameters:
filename |
a pathname in the GLib file name encoding (UTF-8 on Windows) |
buf |
a pointer to a stat struct, which will be filled with the file information |
Returns:
0 if the information was successfully retrieved, -1 if an error occurred |