core :: CString :: file_lstat
private fun file_lstat: NativeFileStat `{
#ifdef _WIN32
// FIXME use a higher level abstraction to support WIN32
return NULL;
#else
struct stat* stat_element;
int res;
stat_element = malloc(sizeof(struct stat));
res = lstat(self, stat_element);
if (res == -1) return NULL;
return stat_element;
#endif
`}
lib/core/file.nit:1420,2--1432,3