• The perror and strerror functions that pull standard error descriptions come from the global variable, sys_errlist.

    引出标准错误描述perrorstrerror函数来自sys_errlist全局变量

    youdao

  • It shows appropriate use of some system calls and library functions from c, including fopen, fclose, access, setvbuf, perror, strerror, and popen.

    演示了一些系统调用c函数适当使用其中包括fopenfcloseaccesssetvbufperrorstrerrorpopen

    youdao

  • When an error occurs in a system call, you can access and display a message corresponding to the error in at least one of two ways: by using either the perror or the strerror function.

    系统调用出现错误时,至少可以以下两种方式一种访问显示错误对应消息通过使用perrorstrerror函数

    youdao

  • As you can see from the output (Listing 2), the perror function displays the string you pass to it, followed by a colon, a space, and then the textual representation of the current errno value.

    正如可以输出(清单2)看到perror函数显示传递的字符串,后跟冒号空格接着当前errno文字表示形式

    youdao

  • One detail you can't see from the output is that perror() writes its message to the standard error channel (stderr); the printf() call in Listing 1 is writing to the standard output channel (stdout).

    无法输出看到一个细节perror() 将消息写入标准错误通道 (stderr);清单1中的printf()调用将写入标准输出通道 (stdout)。

    youdao

  • One detail you can't see from the output is that perror() writes its message to the standard error channel (stderr); the printf() call in Listing 1 is writing to the standard output channel (stdout).

    无法输出看到一个细节perror() 将消息写入标准错误通道 (stderr);清单1中的printf()调用将写入标准输出通道 (stdout)。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定