I've seen the opposite issue. I'll tell a candidate "I don't care if you know the exact function name and parameter order for the library function the get a sub-array; just make up something reasonable and focus on solving the bigger problem." And they still look up the actual function definition.