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
25ec056c
Commit
25ec056c
authored
Dec 17, 2011
by
Victor Stinner
Browse files
Options
Browse Files
Download
Plain Diff
Issue #13530: Document os.lseek() result
Patch written by Jérémy Anger.
parents
bb305de5
e83f8993
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
Doc/library/os.rst
Doc/library/os.rst
+1
-1
Misc/ACKS
Misc/ACKS
+1
-0
Modules/posixmodule.c
Modules/posixmodule.c
+2
-1
No files found.
Doc/library/os.rst
View file @
25ec056c
...
...
@@ -977,7 +977,7 @@ as internal buffering of data.
by *how*: :const:`SEEK_SET` or ``0`` to set the position relative to the
beginning of the file; :const:`SEEK_CUR` or ``1`` to set it relative to the
current position; :const:`os.SEEK_END` or ``2`` to set it relative to the end of
the file.
the file.
Return the new cursor position in bytes, starting from the beginning.
Availability: Unix, Windows.
...
...
Misc/ACKS
View file @
25ec056c
...
...
@@ -32,6 +32,7 @@ John Anderson
Erik Andersén
Oliver Andrich
Ross Andrus
Jérémy Anger
Jon Anglin
Éric Araujo
Alicia Arlen
...
...
Modules/posixmodule.c
View file @
25ec056c
...
...
@@ -6946,7 +6946,8 @@ posix_lockf(PyObject *self, PyObject *args)
PyDoc_STRVAR
(
posix_lseek__doc__
,
"lseek(fd, pos, how) -> newpos
\n\n
\
Set the current position of a file descriptor."
);
Set the current position of a file descriptor.
\n
\
Return the new cursor position in bytes, starting from the beginning."
);
static
PyObject
*
posix_lseek
(
PyObject
*
self
,
PyObject
*
args
)
...
...
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