From 4657f5c8708d63baac88bd7560133e896db05a0d Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 29 Nov 2014 13:25:29 -0600 Subject: [PATCH] Update some Documentation and comments associated with the last ioctl change --- Documentation/NuttxUserGuide.html | 8 ++++++-- include/sys/ioctl.h | 5 +++-- libc/misc/lib_ioctl.c | 4 ++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Documentation/NuttxUserGuide.html b/Documentation/NuttxUserGuide.html index eb5a27f53d..917b52559f 100644 --- a/Documentation/NuttxUserGuide.html +++ b/Documentation/NuttxUserGuide.html @@ -13,7 +13,7 @@

NuttX Operating System

User's Manual

by

Gregory Nutt

-

Last Updated: November 5, 2014

+

Last Updated: November 29, 2014

@@ -7733,7 +7733,11 @@ interface of the same name.

2.10.2.4 poll.h

diff --git a/include/sys/ioctl.h b/include/sys/ioctl.h index edc9168083..60dfa5cea7 100644 --- a/include/sys/ioctl.h +++ b/include/sys/ioctl.h @@ -69,7 +69,7 @@ extern "C" ****************************************************************************/ /**************************************************************************** - * Name: ioctl/fs_ioctl + * Name: ioctl * * Description: * Perform device specific operations. @@ -79,7 +79,8 @@ extern "C" * Parameters: * fd File/socket descriptor of device * req The ioctl command - * arg The argument of the ioctl cmd + * arg The argument of the ioctl cmd, OR + * ... A third argument of type unsigned long is still expected. * * Return: * >=0 on success (positive non-zero values are cmd-specific) diff --git a/libc/misc/lib_ioctl.c b/libc/misc/lib_ioctl.c index 65932c12de..a2838790cf 100644 --- a/libc/misc/lib_ioctl.c +++ b/libc/misc/lib_ioctl.c @@ -54,7 +54,7 @@ ****************************************************************************/ /**************************************************************************** - * Name: ioctl/fs_ioctl + * Name: ioctl * * Description: * Perform device specific operations. @@ -62,7 +62,7 @@ * Parameters: * fd File/socket descriptor of device * req The ioctl command - * ... One argument of type unsigned long is expected + * ... A third argument of type unsigned long is expected * * Return: * >=0 on success (positive non-zero values are cmd-specific)