glibc definition includes int flags in the function signature, i'm not sure what it's used for though
int flags