From 9335f7f7e6931c4ec830597cb1cdecb026508b59 Mon Sep 17 00:00:00 2001 From: tengshuangshuang Date: Mon, 25 Aug 2025 22:41:42 +0800 Subject: [PATCH] fpathcof: _PC_PRIO_IO value of -1 means that unsupported pse52 test error:fpathconf failed, errno = 38 (ENOSYS) Signed-off-by: tengshuangshuang --- libs/libc/unistd/lib_pathconf.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/libc/unistd/lib_pathconf.c b/libs/libc/unistd/lib_pathconf.c index 69d750a62f5..fa9387fbc24 100644 --- a/libs/libc/unistd/lib_pathconf.c +++ b/libs/libc/unistd/lib_pathconf.c @@ -136,6 +136,9 @@ long fpathconf(int fildes, int name) case _PC_MAX_INPUT: return _POSIX_MAX_INPUT; + case _PC_PRIO_IO: + return -1; + default: /* Assume valid but not implemented for the time being */