Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
e83f8993
Kaydet (Commit)
e83f8993
authored
Ara 17, 2011
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #13530: Document os.lseek() result
Patch written by Jérémy Anger.
üst
136ea49b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
os.rst
Doc/library/os.rst
+1
-1
ACKS
Misc/ACKS
+1
-0
posixmodule.c
Modules/posixmodule.c
+2
-1
No files found.
Doc/library/os.rst
Dosyayı görüntüle @
e83f8993
...
@@ -706,7 +706,7 @@ as internal buffering of data.
...
@@ -706,7 +706,7 @@ as internal buffering of data.
by *how*: :const:`SEEK_SET` or ``0`` to set the position relative to the
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
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
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.
Availability: Unix, Windows.
...
...
Misc/ACKS
Dosyayı görüntüle @
e83f8993
...
@@ -30,6 +30,7 @@ John Anderson
...
@@ -30,6 +30,7 @@ John Anderson
Erik Andersén
Erik Andersén
Oliver Andrich
Oliver Andrich
Ross Andrus
Ross Andrus
Jérémy Anger
Jon Anglin
Jon Anglin
Éric Araujo
Éric Araujo
Alicia Arlen
Alicia Arlen
...
...
Modules/posixmodule.c
Dosyayı görüntüle @
e83f8993
...
@@ -5687,7 +5687,8 @@ posix_dup2(PyObject *self, PyObject *args)
...
@@ -5687,7 +5687,8 @@ posix_dup2(PyObject *self, PyObject *args)
PyDoc_STRVAR
(
posix_lseek__doc__
,
PyDoc_STRVAR
(
posix_lseek__doc__
,
"lseek(fd, pos, how) -> newpos
\n\n
\
"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
*
static
PyObject
*
posix_lseek
(
PyObject
*
self
,
PyObject
*
args
)
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