MCM.sty 1 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 2 %% latex Template 3 %% The Template is writen by liuyu,I reference t...
分类:
其他好文 时间:
2014-10-08 03:12:14
阅读次数:
642
unix的RIO提供的readn,writen,readline两类不同的函数:1.无缓冲区的输入输出函数rio_readn 1 ssize_t rio_readn(int fp, void *usrbuf, size_t n) 2 { 3 size_t nleft = n; 4 ...
分类:
其他好文 时间:
2014-07-30 00:29:52
阅读次数:
333
1. readn 和 writen 1.1 基础巩固: read 和 write 函数的返回值 1.1.1 read 函数原型为:ssize_t read(int fd, void* buf, size_t count); (这里的 void *在标准 C 中表示通用指针即任意类型的指针都可...
分类:
系统相关 时间:
2014-07-26 01:51:56
阅读次数:
472