stat handled libc calls