• Paul Sokolovsky's avatar
    unix: Add "_os" module with stat(). · 0c124c31
    Paul Sokolovsky authored
    stat() is bad function to use using FFI, because its ABI is largely private.
    To start with, Glibc .so doesn't even have "stat" symbol. Then, layout of
    struct stat is too implementation-dependent. So, introduce _os to deal
    with stat() and other similar cases.