[APUE2nd学习笔记]Ch5. Standard I/O Library
来源:互联网 发布:苹果电脑性能测评软件 编辑:程序博客网 时间:2024/06/18 12:36
fwide: stream orientation
buffering types: full buffered, line buffered, unbuffered
most implementation: stderr is unbuffered, terminal devices are linue buffered, others are full buffered
setbuf, setvbuf: let the system choose the buffer size and auto allocate the buffer
fflush
fopen, freopen, fdopen: r, r+, w, w+, a, a+
ferror, feof, clearerr
getc, fgetc, getchar, ungetc, putc, fputc, putchar: character-at-a-time I/O
fgets, gets, fputs, puts: line-at-a-time I/O (always use fgets and fputs)
fread, fwrite: direct I/O (won't work when across different systems, p146)
ftell, fseek, rewind, fgetpos, fsetpos
printf, fprintf, sprintf, snprintf, vprintf, vfprintf, vsprintf, vsnprintf (p149)
%[flags][fldwidth][precision][lenmodifier]convtype
scanf, fscanf, sscanf, vscanf, vfscanf, vsscanf (p151)
%[*][fldwidth][lenmodifier]convtype
fileno
tmpnam, tmpfile, tempnam, mkstemp (don't use mkstemp)
- [APUE2nd学习笔记]Ch5. Standard I/O Library
- linux 学习笔记之 Standard I/O Library
- 5-Standard I&O Library
- 深入浅出Standard I/O Library
- 标准I/O库总结(standard I/O library)
- Linux程序设计——The Standard I/O Library
- c++ standard library 学习笔记-仿函数
- the C standard library 学习笔记
- Python Tutoral 学习笔记7 --Standard Library
- 《APUE》chapter 5 Standard I/O libary 学习笔记(加上自己的代码)
- [笔记]C++ standard library
- Unbufferd I/O和Standard I/O
- Delphi文件学习 Standard Routines and I/O
- Delphi文件学习二 Standard Routines and I/O
- Winsock I/O 学习笔记
- Java I/O学习笔记
- Java I/O学习笔记
- I/O流学习笔记
- OLAP安全访问的层次化设计与实现
- NC语录
- 建简单索引
- Python的私有函数
- 《unix环境高级编程》 第二版 源码编译方法 ——RHEL 5
- [APUE2nd学习笔记]Ch5. Standard I/O Library
- 原子操作和信号量
- HSQLDB安装与使用
- 利用timer()测试程序运行速度starttime=timer()
- 完整ASCII字符表
- 概要设计
- smb实现Linux和XP局域网共享
- C#值类型与引用类型(下)
- 小议firefox的HTML Validator