When I ctrl-click a stdlib function such as malloc, I get taken to the definition in the header file. This is the behaviour I expect.
I have the correct Darwin source code for the stdlib as downloaded from Apple OpenSource - specifically:
Libc-763.13
These have been unpacked in /usr/src. The source for the malloc routine is here:
Libc-763.13/gen/malloc.c : line 948
So the question is, how can I teach Xcode to jump to the source when I click on malloc in one of my programs?
In the past I have generated ctags files for use in Vim which has given me this functionality. Is there a way to do something similar with Xcode?