All other library functions

All C inbuilt functions which are declared in all other header files such as stdarg.h, signal.h, setjmp.h, locale.h, errno.h and assert.h are given below.

LIST OF ALL OTHER INBUILT FUNCTIONS IN C:

Header files
Functions declared in the header file
stdarg.h va_start()
va_arg()
va_end()
signal.h signal()
raise()
setjmp.h setjmp()
longjmp()
locale.h setlocale()
localeconv()
errno.h errno()
assert.h assert()
Header file Functions
Description
va_start() This function indicates the start process of variable length argument list in a program
va_arg() This function is used to fetch the arguments from variable length argument list
va_end() This function indicates the end process of variable length argument list in a program
signal() It is used to install signal handler
raise() It is used to raise signal in a C program
setjmp() This function prepares to use longjmp() function
longjmp() It is used for non local jump
setlocale() It sets locale()
localeconv() It gets locale conventions
errno() This function sets errno value to 0 at the beginning of the program. This value is modified to other than 0 when an error occurs while any function call.
assert() This function gets an integer as paramenter. If this paramenter is 0, writes message
to stderr. Then, terminates the program. If this paramenter is non 0, it does nothing.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s