Read

  • 默认read是block模式,如果想设置非block默认,则open时候参数添加O_NONBLOCK
  • read block模式下,并非等到Buffer满才返回,而是只要有data avaiable就会返回

相关文章: