diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/fpathconf.c')
-rw-r--r-- | sysdeps/unix/sysv/linux/fpathconf.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/fpathconf.c b/sysdeps/unix/sysv/linux/fpathconf.c index c1cdb1b899..8b6fbebbf0 100644 --- a/sysdeps/unix/sysv/linux/fpathconf.c +++ b/sysdeps/unix/sysv/linux/fpathconf.c @@ -45,6 +45,13 @@ __fpathconf (fd, name) case _PC_2_SYMLINKS: return __statfs_symlinks (__fstatfs (fd, &fsbuf), &fsbuf); + case _PC_PIPE_BUF: +#ifdef PIPE_BUF + return PIPE_BUF; +#else + return __getpagesize (); +#endif + default: return posix_fpathconf (fd, name); } |