第1个回答 推荐于2016-05-11
是C语言中的一个头文件,首先,stdlib.h的解释 *Purpose: * This include file contains the function declarations for commonly * used library functions which either don't fit somewhere else, or, * cannot be declared in the normal place for other reasons. 意思是一些常用的函数,但是又不知道把它们放到哪里合适,因此就都放到了stdlib.h这个头文件中。 stdlib.h可以提供一些函数与符号常量,具体如下:根据ISO标准,stdlib.h提供以下类型: size_t, wchar_t, div_t, ldiv_t, lldiv_t 常量 NULL, EXIT_FAILURE, EXIT_SUCESS, RAND_MAX, MB_CUR_MAX 函数 atof, atoi, atol, strtod, strtof, strtols, strtol, strtoll, strtoul, strtoull, rand, srand, callc, free, maloc, realloc, abort, atexit, exit, getenv, system, bsearch, qsort, abs, div, labs, ldiv, llabs, tlldiv, mblen, mbtowc, wctomb, mbstowcs, wcstombs本回答被提问者和网友采纳