mirror of
https://github.com/apache/nuttx.git
synced 2026-08-20 23:49:05 +08:00
fpathcof: _PC_PRIO_IO value of -1 means that unsupported
pse52 test error:fpathconf failed, errno = 38 (ENOSYS) Signed-off-by: tengshuangshuang <tengshuangshuang@xiaomi.com>
This commit is contained in:
committed by
Alan C. Assis
parent
92bbe4f6ac
commit
9335f7f7e6
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user