首页 > 系统服务 > 详细

Linux系统编程15_C函数总结

时间:2021-04-13 10:40:11      阅读:26      评论:0      收藏:0      [点我收藏+]

signal.h
signal
sigaction
kill
sigqueue

 

stdio.h
scanf
printf
sprintf //把格式化数据写入到string中,不安全
snprintf //把格式化数据写入到string中,安全


stdlib.h
malloc
calloc
free
atoi
atol
srand
rand
system

 

string.h
memcpy
memset
strcat
strncat
strcmp
strcpy
strncpy
strlen
strtok

 

unistd.h
fork
sleep
read
write
lseek
close

 

fcntl.h
open //还需要sys/stat.h sys/types.h

pthread.h

 

mqueue.h

 

semaphore.h

 

Linux系统编程15_C函数总结

原文:https://www.cnblogs.com/grooovvve/p/14651250.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!