progammer
progammer

Reputation: 2052

How to view the source code of a library function in CodeBlocks?

I am using CodeBlocks 10.05 and programming in C , with ffmpeg library . How do I see the source code of a library function ?

Eg : I use avformat_open_input(parameters) in my program . I want to see the body of the function . How can I see ?

Thanks .

Upvotes: 4

Views: 784

Answers (1)

ArashZiyaei
ArashZiyaei

Reputation: 11

use a Linux system. then :

  1. Type man 3 <function-name>
  2. The manpage will always tell you which header file has the declaration.

Upvotes: 1

Related Questions