why fopen() or open() use errno instead of just returning error code? ... 2 3 4 5. fd = open("/dev/tty0", O_RDWR | O_SYNC); if(fd == -1)
確定! 回上一頁