From e37400c4e3c00e8d03fb59424a60da65ee87ebe3 Mon Sep 17 00:00:00 2001 From: Bruno Haible <bruno@clisp.org> Date: Tue, 10 Oct 2017 21:57:28 +0200 Subject: [PATCH] doc: Improve doc about ioctl. * doc/posix-functions/ioctl.texi: Fix list of platforms with non-POSIX prototype. --- ChangeLog | 6 ++++++ doc/posix-functions/ioctl.texi | 5 +++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8d409706b8..9ff4b959a3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-10-10 Bruno Haible <bruno@clisp.org> + + doc: Improve doc about ioctl. + * doc/posix-functions/ioctl.texi: Fix list of platforms with non-POSIX + prototype. + 2017-10-09 Bruno Haible <bruno@clisp.org> wcwidth: Don't use obsolete syntax of 'test'. diff --git a/doc/posix-functions/ioctl.texi b/doc/posix-functions/ioctl.texi index c4e24151e2..e4a1ddec13 100644 --- a/doc/posix-functions/ioctl.texi +++ b/doc/posix-functions/ioctl.texi @@ -13,8 +13,9 @@ On Windows platforms (excluding Cygwin), @code{ioctl} is called @code{ioctlsocket}, and error codes from this function are not placed in @code{errno}, and @code{WSAGetLastError} must be used instead. @item -On glibc platforms, the second parameter is of type @code{unsigned long} -rather than @code{int}. +The second parameter is of type @code{unsigned long} rather than @code{int} +on some platforms: +glibc 2.26, Mac OS X 10.5, FreeBSD 11.0, NetBSD 7.0, OpenBSD 6.0, BeOS. @end itemize Portability problems not fixed by Gnulib: -- 2.39.5