This looks to me like you found a stub that's intended for someone to fill in for a specific system, given that no matter what you do to call it, it will return -1 and set
errno. That said, I'm not sure why they would do all the other stuff just to return -1.
You need to be looking in a different place, I think.