在 Linux 中运行 ldapsearch 实用程序时,“sendmsg”函数失败并出现错误代码 9。错误代码 9 代表什么?手册页未提供有关错误代码的信息。
最佳答案
您可以在此页面中找到所有错误代码。 http://www.virtsync.com/c-error-codes-include-errno .目前我正在采取相同的结果。 “发送”方法有效,但 sendmsg 返回 -1 并且 errno 为 9,这意味着文件编号错误。我仍然不知道问题出在哪里。
#define EBADF 9 /* Bad file number */
关于linux - sendmsg 失败,错误代码为 9,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10878614/