gmtime() returns a pointer to the current Greenwich Mean Time
localtime() returns a pointer to the current time
mktime() returns the calendar version of a given time
strftime() returns individual elements of the date and time
time() returns the current calendar time of the system
标准内存管理函数
calloc() allocates a two-dimensional chunk of memory
free() makes memory available for future allocation
malloc() allocates memory
realloc() changes the size of previously allocated memory
其它标准函数
abort() stops the program
assert() stops the program if an expression isn';t true
atexit() sets a function to be called when the program exits
bsearch() perform a binary search
exit() stop the program
getenv() get enviornment information about a variable
longjmp() start execution at a certain point in the program
qsort() perform a quicksort
raise() send a signal to the program
rand() returns a pseudorandom number
setjmp() set execution to start at a certain point
signal() register a function as a signal handler
srand() initialize the random number generator
system() perform a system call
va_arg() use variable length parameter lists
什么是C语言标准函数库?平常用的哪些函数属于标准函数库?你会发现,有一些头文件(比如stdlib.h,stdio.h)每一个编译器都有,而里面的函数(如printf,malloc)每一个编译器都支持 。这些函数组成的集合就是标准函数库 。平常用的函数基本都属于标准函数库 。
ANSI对此是有规定的
c语言标准库函数查询手册的介绍就聊到这里吧,感谢你花时间阅读本站内容,更多关于c语言标准库函数有哪些、c语言标准库函数查询手册的信息别忘了在本站进行查找喔 。
- mongodb查看数据库大小 查看mongodb集群容量
- mysql数据库优化 mysql订单优化
- mongodb数据丢失原因 为什么mongodb数据库一直在加载中
- mongodb 查看数据库 mongodb查询数据库表
- mongodb显示所有数据库 mongodb数据突然为空
- mysql备份一个表的数据 备份一个mysql库
- 屏蔽数据库的复杂性 mysql数据库屏蔽权限
- mongodb 创建表 mongodb创建数据库的语法
- 往mysql数据库录数据 lua写数据库mysql
- mongodb数据库语句 mongodb数据库文档
