Search

List of C Header File with Detailed Explanations



This Chapter is intended to clear your fundamental concepts with the help of numerous programming problems. The programs are mapped out in such a way that with each step you will move towards perfectionism. It’s highly recommended to do every program with the pen and paper for enhancing your programming concepts efficiently.


Standard Library Functions - Header File

In the C Programming Language, the Standard Library Functions are divided into several header files.

Below is the list of header files that we will cover:

Header Files

  • <assert.h> Diagnostics Functions

  • <ctype.h> Character Handling Functions

  • <locale.h> Localization Functions

  • <math.h> Mathematics Functions

  • <setjmp.h> Nonlocal Jump Functions

  • <signal.h> Signal Handling Functions

  • <stdarg.h> Variable Argument List Functions

  • <stdio.h> Input/Output Functions

  • <stdlib.h> General Utility Functions

  • <string.h> String Functions

  • <time.h> Date and Time Functions


Standard Library Functions - ctype.h

In the C Programming Language, the Standard Library Functions are divided into several header files.

The following is a list of functions found within the <ctype.h> header file:

Character Testing functions

  • isalnum Test for Alphanumeric

  • isalpha Test for Alphabetic

  • iscntrl Test for Control Character

  • isdigit Test for Digit

  • isgraph Test for Graphical Character (does not include a space).

  • islower Test for Lowercase Letter

  • isprint Test for Printing Character (does include a space).

  • ispunct Test for Punctuation Character

  • isspace Test for White-Space Character

  • isupper Test for Uppercase Letter

  • isxdigit Test for Hexadecimal Digit

Character Case-Mapping functions

  • Tolower Convert to Lowercase

  • Toupper Convert to Uppercase


Standard Library Functions - locale.h

In the C Programming Language, the Standard Library Functions are divided into several header files.

The following is a list of functions found within the <locale.h> header file:

Localization functions

  • localeconv Get Locale Conventions

  • setlocale Set Locale


Standard Library Functions - math.h

In the C Programming Language, the Standard Library Functions are divided into several header files.

The following is a list of functions found within the <math.h> header file:

Absolute Value functions

  • Fabs Absolute Value of Floating-Point Number

Nearest Integer, Absolute Value, and Remainder functions

  • ceil Ceiling

  • floor Floor

  • fmod Floating Modulus

Exponential and Logarithmic functions

  • exp Exponential

  • frexp Split into Fraction and Exponent

  • ldexp Combine Fraction and Exponent

  • log Natural Logarithm

  • log10 Common Logarithm

  • modf Split into Integer and Fractional Parts

Power functions

  • pow Power

  • sqrt Square Root

Trigonometric functions

  • acos Arc Cosine

  • asin Arc Sine

  • atan Arc Tangent

  • atan2 Arc Tangent of Quotient

  • cos Cosine

  • sin Sine

Hyperbolic functions

  • cosh Hyperbolic Cosine

  • sinh Hyperbolic Sine

  • tanh Hyperbolic Tangent



Standard Library Functions - setjmp.h

In the C Programming Language, the Standard Library Functions are divided into several header files.

The following is a list of functions found within the <setjmp.h> header file:

Nonlocal Jump functions

  • longjmp Nonlocal Jump

  • setjmp Prepare for Nonlocal Jump


Standard Library Functions - signal.h

In the C Programming Language, the Standard Library Functions are divided into several header files.

The following is a list of functions found within the <signal.h> header file:

Signal Handling functions

  • raise Raise Signal

  • signal Install Signal Handler


Standard Library Functions - stdarg.h

In the C Programming Language, the Standard Library Functions are divided into several header files.

The following is a list of functions found within the <stdarg.h> header file:

Variable Argument List functions

  • va_arg Fetch Argument from Variable Argument List

  • va_end End Processing of Variable Argument List

  • va_start Start Processing of Variable Argument List


Standard Library Functions - stdio.h

In the C Programming Language, the Standard Library Functions are divided into several header files.

The following is a list of functions found within the <stdio.h> header file:

Formatted Input/Output functions

  • fprintf Formatted File Write

  • fscanf Formatted File Read

  • printf Formatted Write

  • scanf Formatted Read

  • sprintf Formatted String Write

  • sscanf Formatted String Read

  • vfprintf Formatted File Write Using Variable Argument List

  • vprintf Formatted Write Using Variable Argument List

  • vsprintf Formatted String Write Using Variable Argument List

File Operation functions

  • fclose Close File

  • fflush Flush File Buffer

  • fopen Open File

  • freopen Reopen File

  • remove Remove File

  • rename Rename File

  • setbuf Set Buffer (obsolete)

  • setvbuf Set Buffer

  • tmpfile Create Temporary File

  • tmpnam Generate Temporary File Name

Character Input/Output functions

  • fgetc Read Character from File

  • fgets Read String from File

  • fputc Write Character to File

  • fputs Write String to File