提交 19df86cb 编写于 作者: R Rich Felker

add errno setting to stub utmpxname function

上级 378f8cb5
#include <utmpx.h>
#include <stddef.h>
#include <errno.h>
#include "libc.h"
void endutxent(void)
......@@ -36,6 +37,7 @@ void updwtmpx(const char *f, const struct utmpx *u)
int __utmpxname(const char *f)
{
errno = ENOTSUP;
return -1;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册