I am thinking of a function in the Windows 3.0 API that was declared in the header file as returning BOOL, but actually could return TRUE, FALSE, or -1 (which, of course, is true according to C's rules).
Worse, I didn't have the docs -- just the header file. That one cost me a fair amount of head scratching before I figured it out.