Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
c0f4abf3
Commit
c0f4abf3
authored
May 10, 2001
by
Fred Drake
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the fcntl() docstring so the user is not mis-directed to the FCNTL
module for useful constants.
parent
e5d3afc2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
Modules/fcntlmodule.c
Modules/fcntlmodule.c
+7
-7
No files found.
Modules/fcntlmodule.c
View file @
c0f4abf3
...
...
@@ -81,13 +81,13 @@ static char fcntl_doc [] =
"fcntl(fd, opt, [arg])
\n
\
\n
\
Perform the requested operation on file descriptor fd. The operation
\n
\
is defined by op and is operating system dependent. T
ypically thes
e
\n
\
codes can be retrieved from the library module FCNTL. The argument arg
\n
\
is optional, and defaults to 0; it may be an int or a string. If arg is
\n
\
given as a string, the return value of fcntl is a string of that length,
\n
\
containing the resulting value put in the arg buffer by the operating system.
\n
\
The length of the arg string is not allowed to exceed 1024 bytes. If the arg
\n
\
given
is an integer or if none is specified, the result value is an integer
\n
\
is defined by op and is operating system dependent. T
hese constants ar
e
\n
\
available from the fcntl module. The argument arg is optional, and
\n
\
defaults to 0; it may be an int or a string. If arg is given as a string,
\n
\
the return value of fcntl is a string of that length, containing the
\n
\
resulting value put in the arg buffer by the operating system.The length
\n
\
of the arg string is not allowed to exceed 1024 bytes. If the arg given
\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."
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment