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
d146edfa
Kaydet (Commit)
d146edfa
authored
Nis 21, 1999
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Mark the "Notes:" sections under tables the same way it's done
elsewhere in the library reference.
üst
b11d108c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
libposixfile.tex
Doc/lib/libposixfile.tex
+11
-5
No files found.
Doc/lib/libposixfile.tex
Dosyayı görüntüle @
d146edfa
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
\indexii
{
\POSIX
{}}{
file object
}
\indexii
{
\POSIX
{}}{
file object
}
\
emph
{
Note:
}
This module will become obsolete in a future release.
\
strong
{
Note:
}
This module will become obsolete in a future release.
The locking operation that it provides is done better and more
The locking operation that it provides is done better and more
portably by the
\function
{
fcntl.lockf()
}
call.
%
portably by the
\function
{
fcntl.lockf()
}
call.
%
\withsubitem
{
(in module fcntl)
}{
\ttindex
{
lockf()
}}
\withsubitem
{
(in module fcntl)
}{
\ttindex
{
lockf()
}}
...
@@ -123,12 +123,15 @@ In addition the following modifiers can be added to the format:
...
@@ -123,12 +123,15 @@ In addition the following modifiers can be added to the format:
\code
{
None
}
if there is no conflict.
}{
(1)
}
\code
{
None
}
if there is no conflict.
}{
(1)
}
\end{tableiii}
\end{tableiii}
\noindent
Note:
Note:
(1) The lock returned is in the format
\code
{
(
\var
{
mode
}
,
\var
{
len
}
,
\begin{description}
\item
[(1)]
The lock returned is in the format
\code
{
(
\var
{
mode
}
,
\var
{
len
}
,
\var
{
start
}
,
\var
{
whence
}
,
\var
{
pid
}
)
}
where
\var
{
mode
}
is a character
\var
{
start
}
,
\var
{
whence
}
,
\var
{
pid
}
)
}
where
\var
{
mode
}
is a character
representing the type of lock ('r' or 'w'). This modifier prevents a
representing the type of lock ('r' or 'w'). This modifier prevents a
request from being granted; it is for query purposes only.
request from being granted; it is for query purposes only.
\end{description}
Format characters for the
\method
{
flags()
}
method have the following
Format characters for the
\method
{
flags()
}
method have the following
meanings:
meanings:
...
@@ -149,12 +152,15 @@ In addition the following modifiers can be added to the format:
...
@@ -149,12 +152,15 @@ In addition the following modifiers can be added to the format:
are set.
}{
(2)
}
are set.
}{
(2)
}
\end{tableiii}
\end{tableiii}
Note:
\noindent
Notes:
(1) The
\samp
{
!
}
and
\samp
{
=
}
modifiers are mutually exclusive.
\begin{description}
\item
[(1)]
The
\samp
{
!
}
and
\samp
{
=
}
modifiers are mutually exclusive.
(2)
This string represents the flags after they may have been altered
\item
[(2)]
This string represents the flags after they may have been altered
by the same call.
by the same call.
\end{description}
Examples:
Examples:
...
...
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