阅读背景:

Hacking: The Art of Exploitation 读书笔记(二)C文件I/O

来源:互联网 
File descriptor:

fd = open( ‘file’, access_mode, permissions)
write( fd, buffer, strlen(buffer) )
read( fd, &buffer, length )
close( fd )
lseek( fd, length* -1, SEEK_CUR ): move the read position forward from the current position by length * -1fd = open( ‘f



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: