Commit c0f4abf3 authored by Fred Drake's avatar Fred Drake

Fix the fcntl() docstring so the user is not mis-directed to the FCNTL

module for useful constants.
parent e5d3afc2
...@@ -81,13 +81,13 @@ static char fcntl_doc [] = ...@@ -81,13 +81,13 @@ static char fcntl_doc [] =
"fcntl(fd, opt, [arg])\n\ "fcntl(fd, opt, [arg])\n\
\n\ \n\
Perform the requested operation on file descriptor fd. The operation\n\ Perform the requested operation on file descriptor fd. The operation\n\
is defined by op and is operating system dependent. Typically these\n\ is defined by op and is operating system dependent. These constants are\n\
codes can be retrieved from the library module FCNTL. The argument arg\n\ available from the fcntl module. The argument arg is optional, and\n\
is optional, and defaults to 0; it may be an int or a string. If arg is\n\ defaults to 0; it may be an int or a string. If arg is given as a string,\n\
given as a string, the return value of fcntl is a string of that length,\n\ the return value of fcntl is a string of that length, containing the\n\
containing the resulting value put in the arg buffer by the operating system.\n\ resulting value put in the arg buffer by the operating system.The length\n\
The length of the arg string is not allowed to exceed 1024 bytes. If the arg\n\ of the arg string is not allowed to exceed 1024 bytes. If the arg given\n\
given is an integer or if none is specified, the result value is an integer\n\ is an integer or if none is specified, the result value is an integer\n\
corresponding to the return value of the fcntl call in the C code."; corresponding to the return value of the fcntl call in the C code.";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment