char   *dev   =    "/dev/hda ";
/*   open   it   */
fd   =   open(dev,   O_RDONLY);
if   (fd   ==   -1){ 
LOGD( "open   %s   failed   %s\n ",   dev,   strerror(errno));
return   (-1);
}

相关文章:

  • 2022-01-11
  • 2022-12-23
  • 2021-11-10
  • 2021-09-16
  • 2022-12-23
  • 2022-01-06
  • 2021-10-06
  • 2021-05-21
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案