关于 struct pollfd fdarray[] 和 struct pollfd *fdarray

来源:互联网 发布:徐老师淘宝店铺号 编辑:程序博客网 时间:2024/06/06 18:15

在C语言中,两种写法是等价的,使用第一种说法,以说明fdarray指向的是一个结构数组,而不是指向单个结构的指针.



buffer 与cache 的区别
A buffer is something that has yet to be "written" to disk. A cache is something that has been "read" from the disk and stored for later use.



原创粉丝点击