Difficulties - stat

How to link to the library?

sub __xstat is native('c');