Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Jun 2018 21:04:29 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r335740 - stable/11/lib/libc/sys
Message-ID:  <201806272104.w5RL4TKx000766@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Wed Jun 27 21:04:29 2018
New Revision: 335740
URL: https://svnweb.freebsd.org/changeset/base/335740

Log:
  MFC r333192: fcntl(2): Vaguely document that ENOTTY is possible + examples

Modified:
  stable/11/lib/libc/sys/fcntl.2
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/lib/libc/sys/fcntl.2
==============================================================================
--- stable/11/lib/libc/sys/fcntl.2	Wed Jun 27 21:03:05 2018	(r335739)
+++ stable/11/lib/libc/sys/fcntl.2	Wed Jun 27 21:04:29 2018	(r335740)
@@ -28,7 +28,7 @@
 .\"     @(#)fcntl.2	8.2 (Berkeley) 1/12/94
 .\" $FreeBSD$
 .\"
-.Dd July 7, 2016
+.Dd May 2, 2018
 .Dt FCNTL 2
 .Os
 .Sh NAME
@@ -572,6 +572,14 @@ process are already in use,
 or no file descriptors greater than or equal to
 .Fa arg
 are available.
+.It Bq Er ENOTTY
+The
+.Fa fd
+argument is not a valid file descriptor for the requested operation.
+This may be the case if
+.Fa fd
+is a device node, or a descriptor returned by
+.Xr kqueue 2 .
 .It Bq Er ENOLCK
 The argument
 .Fa cmd



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806272104.w5RL4TKx000766>