Find header file that defines a C function -
Should not be difficult, is not it? Okay?
I am currently searching the OpenAFS codebase to find the header definition of pioctl. I have put everything on it: Checked CTADs, repeated the source code of POCTL, etc. I have found the closest one lead to the fact that a file is POETL_NH which includes definition, apart from what I really do not want because none of the userspace code directly covers it, and this is Windows specific.
Now, I hope you go and download the OpenAFs codebase and find the header file for me I'm curious, though: what is your technology to find the header file, when everything fails ? What is the worst case scenario, which can not come with CO2 in anything that looks like a function definition for a grep for POITL?
I should also note that I have done this completely with two independent userspace programs, so in theory, I can search an O (N) for the ceremony. But none of the header files come to me, and n is larger ...
Edit: The immediate problem has been resolved: pioctl () vests Defined as shown, fx.x: 2796: Error: The function of 'peacock'
If grep -r and ctags are unsuccessful, then it may be defined as the result of some bad macros (s) Stay You can try to make the easiest possible file that calls pioctl () and compile successfully, and then pre-processed to see what happens:
gcc -E test.c - o test.i grep pioctl -C10 test.i
Comments
Post a Comment