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
6c7a46a2
Kaydet (Commit)
6c7a46a2
authored
Agu 02, 2000
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Rob Hooft <rob@hooft.net>:
Description of fcntl(): Added description of what can go wrong.
üst
a2214c37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
libfcntl.tex
Doc/lib/libfcntl.tex
+8
-2
No files found.
Doc/lib/libfcntl.tex
Dosyayı görüntüle @
6c7a46a2
...
...
@@ -30,8 +30,14 @@ The module defines the following functions:
structure, e.g.
\
created by
\function
{
struct.pack()
}
. The binary
data is copied to a buffer whose address is passed to the C
\cfunction
{
fcntl()
}
call. The return value after a successful call
is the contents of the buffer, converted to a string object. In
case the
\cfunction
{
fcntl()
}
fails, an
\exception
{
IOError
}
is
is the contents of the buffer, converted to a string object. The length
of the returned string will be the same as the length of the
\var
{
arg
}
argument. This is limited to 1024 bytes. If the information returned
in the buffer by the operating system is larger than 1024 bytes,
this is most likely to result in a segmentation violation or a more
subtle data corruption.
If the
\cfunction
{
fcntl()
}
fails, an
\exception
{
IOError
}
is
raised.
\end{funcdesc}
...
...
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