Difficulties - stat
Finding stat() was surprisingly difficult
It's actually called __xstat() in libc
How to link to the library?