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
55e3cbd1
Kaydet (Commit)
55e3cbd1
authored
Nis 03, 1998
tarafından
Fred Drake
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix one typo.
Add a manpage reference. Add an index entry.
üst
74810d5a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
libfcntl.tex
Doc/lib/libfcntl.tex
+6
-6
libfcntl.tex
Doc/libfcntl.tex
+6
-6
No files found.
Doc/lib/libfcntl.tex
Dosyayı görüntüle @
55e3cbd1
...
...
@@ -17,9 +17,9 @@ The module defines the following functions:
Perform the requested operation on file descriptor
\var
{
fd
}
.
The operation is defined by
\var
{
op
}
and is operating system
dependent. Typically these codes can be retrieved from the library
module
\module
{
FCNTL
}
. The argument
\var
{
arg
}
is optional, and
defaults to the integer value
\code
{
0
}
. When
it is
present, it can either be an integer value, or a string. With
module
\module
{
FCNTL
}
\refstmodindex
{
FCNTL
}
. The argument
\var
{
arg
}
is optional, and
defaults to the integer value
\code
{
0
}
. When
present, it can either be an integer value, or a string. With
the argument missing or an integer value, the return value of this
function is the integer return value of the
\C
{}
\cfunction
{
fcntl()
}
call. When the argument is a string it represents a binary
...
...
@@ -39,8 +39,8 @@ The module defines the following functions:
\begin{funcdesc}
{
flock
}{
fd, op
}
Perform the lock operation
\var
{
op
}
on file descriptor
\var
{
fd
}
.
See the
\UNIX
{}
manual
for details. (On some systems, this function is
emulated using
\
function
{
fcntl()
}
.)
See the
\UNIX
{}
manual
\manpage
{
flock
}{
3
}
for details. (On some
systems, this function is emulated using
\c
function
{
fcntl()
}
.)
\end{funcdesc}
\begin{funcdesc}
{
lockf
}{
fd, code,
\optional
{
len,
\optional
{
start,
\optional
{
whence
}}}}
...
...
@@ -70,6 +70,6 @@ rv = fcntl(file.fileno(), FCNTL.F_SETLKW, lockdata)
Note that in the first example the return value variable
\code
{
rv
}
will
hold an integer value; in the second example it will hold a string
value. The structure lay-out for the
\var
{
lock
a
data
}
variable is
value. The structure lay-out for the
\var
{
lockdata
}
variable is
system dependent --- therefore using the
\function
{
flock()
}
call may be
better.
Doc/libfcntl.tex
Dosyayı görüntüle @
55e3cbd1
...
...
@@ -17,9 +17,9 @@ The module defines the following functions:
Perform the requested operation on file descriptor
\var
{
fd
}
.
The operation is defined by
\var
{
op
}
and is operating system
dependent. Typically these codes can be retrieved from the library
module
\module
{
FCNTL
}
. The argument
\var
{
arg
}
is optional, and
defaults to the integer value
\code
{
0
}
. When
it is
present, it can either be an integer value, or a string. With
module
\module
{
FCNTL
}
\refstmodindex
{
FCNTL
}
. The argument
\var
{
arg
}
is optional, and
defaults to the integer value
\code
{
0
}
. When
present, it can either be an integer value, or a string. With
the argument missing or an integer value, the return value of this
function is the integer return value of the
\C
{}
\cfunction
{
fcntl()
}
call. When the argument is a string it represents a binary
...
...
@@ -39,8 +39,8 @@ The module defines the following functions:
\begin{funcdesc}
{
flock
}{
fd, op
}
Perform the lock operation
\var
{
op
}
on file descriptor
\var
{
fd
}
.
See the
\UNIX
{}
manual
for details. (On some systems, this function is
emulated using
\
function
{
fcntl()
}
.)
See the
\UNIX
{}
manual
\manpage
{
flock
}{
3
}
for details. (On some
systems, this function is emulated using
\c
function
{
fcntl()
}
.)
\end{funcdesc}
\begin{funcdesc}
{
lockf
}{
fd, code,
\optional
{
len,
\optional
{
start,
\optional
{
whence
}}}}
...
...
@@ -70,6 +70,6 @@ rv = fcntl(file.fileno(), FCNTL.F_SETLKW, lockdata)
Note that in the first example the return value variable
\code
{
rv
}
will
hold an integer value; in the second example it will hold a string
value. The structure lay-out for the
\var
{
lock
a
data
}
variable is
value. The structure lay-out for the
\var
{
lockdata
}
variable is
system dependent --- therefore using the
\function
{
flock()
}
call may be
better.
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