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
74429eac
Kaydet (Commit)
74429eac
authored
Ock 06, 1999
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add doc for access() and ttyname(). Patch by Sean Reifschneider.
üst
6892aa37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
libposix.tex
Doc/lib/libposix.tex
+12
-0
No files found.
Doc/lib/libposix.tex
Dosyayı görüntüle @
74429eac
...
@@ -80,6 +80,12 @@ When exceptions are strings, the string for the exception is
...
@@ -80,6 +80,12 @@ When exceptions are strings, the string for the exception is
It defines the following functions and constants:
It defines the following functions and constants:
\begin{funcdesc}
{
access
}{
path, mode
}
Check read/write/execute permissions for this process or extance of file
\var
{
path
}
. Return
\code
{
1
}
if access is granted,
\code
{
0
}
if not.
See the
\UNIX
{}
manual for the semantics.
\end{funcdesc}
\begin{funcdesc}
{
chdir
}{
path
}
\begin{funcdesc}
{
chdir
}{
path
}
Change the current working directory to
\var
{
path
}
.
Change the current working directory to
\var
{
path
}
.
\end{funcdesc}
\end{funcdesc}
...
@@ -321,6 +327,12 @@ actually preferable to assign to items of \code{os.environ}.
...
@@ -321,6 +327,12 @@ actually preferable to assign to items of \code{os.environ}.
Return the error message corresponding to the error code in
\var
{
code
}
.
Return the error message corresponding to the error code in
\var
{
code
}
.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
ttyname
}{
fd
}
Return a string which specifies the terminal device associated with
file-descriptor
\var
{
fd
}
. If
\var
{
fd
}
is not associated with a terminal
device, an exception is raised.
\end{funcdesc}
\begin{funcdesc}
{
read
}{
fd, n
}
\begin{funcdesc}
{
read
}{
fd, n
}
Read at most
\var
{
n
}
bytes from file descriptor
\var
{
fd
}
.
Read at most
\var
{
n
}
bytes from file descriptor
\var
{
fd
}
.
Return a string containing the bytes read.
Return a string containing the bytes read.
...
...
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