fpathconf: add _POSIX_PRIO_IO defintion

fix the /tset/rt.os/files/fpathconf/T.fpathconf{1}:
_POSIX_ASYNC_IO is not defined

Signed-off-by: guoshichao <guoshichao@xiaomi.com>
This commit is contained in:
guoshichao
2025-09-15 20:49:34 +08:00
committed by Alan C. Assis
parent 9335f7f7e6
commit 117c28990a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -97,7 +97,7 @@
#define _POSIX_SYNC_IO 1
#undef _POSIX_ASYNC_IO
#undef _POSIX_PRIO_IO
#define _POSIX_PRIO_IO 1
#define _XOPEN_UNIX 1
#define _XOPEN_VERSION 700L
+1 -1
View File
@@ -137,7 +137,7 @@ long fpathconf(int fildes, int name)
return _POSIX_MAX_INPUT;
case _PC_PRIO_IO:
return -1;
return _POSIX_PRIO_IO;
default: