unix55
unix55

Reputation: 21

Can I debug into the source code of stdio within Eclipse CPP?

I'm new to Eclipse CPP helios. Does it include the source code of C library like stdio? I want to know how the various functions in stdio are implemented. How can I do it? Thanks.

Upvotes: 1

Views: 228

Answers (1)

DaveR
DaveR

Reputation: 9640

The source (or lack thereof) of stdio from libc is a matter for the compiler / Operating System, not Eclipse. You don't mention which platform (Linux, OS X, Windows) you're running, however in general the full source to libc is not installed by default.

The header files, however will be and do have the implementation of some (inline) methods in them. Exact instructions for obtaining source will vary based on your OS, but for example here are some links to GNU libc (Linux), and Apple's libc (based on BSD).

Upvotes: 1

Related Questions