Someone
public c v1 · immutable#include <stdio.h>#include <errno.h>#include <sys/types.h>#include <sys/stat.h>#include <unistd.h>int Mono_Posix_ToStat(struct stat *from, void *to);int main (){ char mem[1024]; struct stat s; if (stat ("/home/joe", &s) == 0) { int n = Mono_Posix_ToStat (&s, mem); printf ("ToStat=%i=%s\n", n, strerror(errno)); }}