在这种情况下不需要输出错误消息,因为文件描述符0到2只是在攻击者试图去搅乱您的程序的时候才会被关闭。
There's no need to print error messages for this case since file descriptors 0 through 2 are only closed if an attacker is trying to subvert your program.
有一点不是很重要但却很有帮助,初始打开每个应用程序时,都具有三个文件描述符,从0到2,分别表示标准输入、输出和错误流。
As a bit of helpful trivia, each application is initially opened with three file descriptors, 0 through 2, for the standard input, output, and error streams, respectively.
您可以解决此问题,方法是手工将web部署描述符(web . xml)从web项目的web- INF文件夹复制到错误消息中给定的位置。
You can work around this issue by manually copying the web deployment descriptor (web.xml) from the WEB-INF folder of your web project to the location given in the error message.
函数尝试使用错误的文件描述符(例如,它不引用打开的文件,或者用于尝试写入以只读方式打开的文件)。
EBADF -- A function tried to use a bad file descriptor (it doesn't refer to an open file, for example, or it was used in an attempt to write to a file that was opened read-only).
适配器使用一种特定格式的消息文件来生成消息,这种格式包含错误代码和它们的描述符。
A message file in a specific format containing error codes and their descriptions is used by the adapters to generate messages.
在这个示例中,您可以看到PID 2452打开文件的文件描述符为2(标准错误)和7。
From this, you can see that PID 2452 has the file opened on file descriptors 2 (standard error) and 7.
加载描述符表时出现问题,最常见的原因是描述符表错误。
Problem loading the descriptor table, most likely due to a corrupt descriptor table.
这个系统调用允许你的程序从一个或多个文件描述符获取输入输出或者错误信息。
This system call allows your program to check for input, output, or error conditions on one or more file descriptors.
这个系统调用允许你的程序从一个或多个文件描述符获取输入输出或者错误信息。
This system call allows your program to check for input, output, or error conditions on one or more file descriptors.
应用推荐