CodeCogs
HomeForumsCart
Login



Forgotten Password?

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com
ComputingC

Stdlib.h

Overview

Stdlib.h library belongs to C standard library and provides and defines numeric conversion functions, pseudo-random numbers generation functions, memory allocation, process control functions.

Section Pages

abs

integer absolute value function

abort

cause abnormal program termination

atol

convert ASCII string to long or long long integer

atoi

convert ASCII string to integer

atof

convert ASCII string to double

atexit

register a function to be called on exit

malloc

memory allocation

bsearch

binary search of a sorted table

exit

perform normal program termination

ecvt

convert double to ASCII string

div

return quotient and remainder from division

ldiv

return quotient and remainder from division

getenv

environment variable functions

labs

return the absolute value of a long integer

qsort

sort functions

strtol

convert a string value to a long, long long, intmax_t or quad_t integer

strtoul

convert a string to an unsigned long, unsigned long long, uintmax_t, or u_quad_t integer

system

pass a command to the shell

strtod

convert ASCII string to floating point

rand

Generate random number