diff options
Diffstat (limited to 'sysdeps/posix/fpathconf.c')
-rw-r--r-- | sysdeps/posix/fpathconf.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/posix/fpathconf.c b/sysdeps/posix/fpathconf.c index 649a2a4c49..9b54b5f04a 100644 --- a/sysdeps/posix/fpathconf.c +++ b/sysdeps/posix/fpathconf.c @@ -136,6 +136,14 @@ DEFUN(__fpathconf, (fd, name), int fd AND int name) #else return -1; #endif + + case _PC_SOCK_MAXBUF: +#ifdef SOCK_MAXBUF + return SOCK_MAXBUF; +#else + errno = ENOSYS; + return -1; +#endif } errno = ENOSYS; |