From the course: C Standard Library
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Header files
- [Instructor] Header files in the C standard library API usually contain these elements. Type definitions like the bullion type, handles, and file descriptors. A handle is an identifier that serves as a reference to a data structure managed by some code other than our own. A handle for a file is often referred to as a file descriptor. Header files also contain many macro definitions for constants and functions. A macro, short for macroinstruction, is one type of pre-processor directive used to find and replace a symbol in the code with a constant value or an extended expression like a function. And finally, header files contain function definitions, which is the largest category in the library. You should be aware that the C programming language has its own standard, often called ANSI C. It has gone through several revisions over the years. These revisions were named after the year in which they were published. Now, the elements we will cover were added in one of these revisions of…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.