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
8c07bb45
Kaydet (Commit)
8c07bb45
authored
Şub 12, 1996
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
listdir no longer returns . or ..; added remove==unlink
üst
71b1815c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
6 deletions
+18
-6
libposix.tex
Doc/lib/libposix.tex
+9
-3
libposix.tex
Doc/libposix.tex
+9
-3
No files found.
Doc/lib/libposix.tex
Dosyayı görüntüle @
8c07bb45
...
@@ -177,8 +177,9 @@ Create a hard link pointing to \var{src} named \var{dst}.
...
@@ -177,8 +177,9 @@ Create a hard link pointing to \var{src} named \var{dst}.
\begin{funcdesc}
{
listdir
}{
path
}
\begin{funcdesc}
{
listdir
}{
path
}
Return a list containing the names of the entries in the directory.
Return a list containing the names of the entries in the directory.
The list is in arbitrary order. It includes the special entries
The list is in arbitrary order. It does not include the special
\code
{
'.'
}
and
\code
{
'..'
}
if they are present in the directory.
entries
\code
{
'.'
}
and
\code
{
'..'
}
even if they are present in the
directory.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
lseek
}{
fd
\,
pos
\,
how
}
\begin{funcdesc}
{
lseek
}{
fd
\,
pos
\,
how
}
...
@@ -245,6 +246,10 @@ points. (On systems without symbolic links, this always raises
...
@@ -245,6 +246,10 @@ points. (On systems without symbolic links, this always raises
\code
{
posix.error
}
.)
\code
{
posix.error
}
.)
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
remove
}{
path
}
Remove the file
\var
{
path
}
. See
\code
{
rmdir
}
below to remove a directory.
\end{funcdesc}
\begin{funcdesc}
{
rename
}{
src
\,
dst
}
\begin{funcdesc}
{
rename
}{
src
\,
dst
}
Rename the file or directory
\var
{
src
}
to
\var
{
dst
}
.
Rename the file or directory
\var
{
src
}
to
\var
{
dst
}
.
\end{funcdesc}
\end{funcdesc}
...
@@ -324,7 +329,8 @@ hostname is \code{socket.gethostname()}. (Not on MS-DOS, nor on older
...
@@ -324,7 +329,8 @@ hostname is \code{socket.gethostname()}. (Not on MS-DOS, nor on older
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
unlink
}{
path
}
\begin{funcdesc}
{
unlink
}{
path
}
Unlink
\var
{
path
}
.
Remove the file
\var
{
path
}
. This is the same function as
\code
{
remove
}
;
the
\code
{
unlink
}
name is its traditional
\UNIX
{}
name.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
utime
}{
path
\,
\(
atime
\,
mtime
\)}
\begin{funcdesc}
{
utime
}{
path
\,
\(
atime
\,
mtime
\)}
...
...
Doc/libposix.tex
Dosyayı görüntüle @
8c07bb45
...
@@ -177,8 +177,9 @@ Create a hard link pointing to \var{src} named \var{dst}.
...
@@ -177,8 +177,9 @@ Create a hard link pointing to \var{src} named \var{dst}.
\begin{funcdesc}
{
listdir
}{
path
}
\begin{funcdesc}
{
listdir
}{
path
}
Return a list containing the names of the entries in the directory.
Return a list containing the names of the entries in the directory.
The list is in arbitrary order. It includes the special entries
The list is in arbitrary order. It does not include the special
\code
{
'.'
}
and
\code
{
'..'
}
if they are present in the directory.
entries
\code
{
'.'
}
and
\code
{
'..'
}
even if they are present in the
directory.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
lseek
}{
fd
\,
pos
\,
how
}
\begin{funcdesc}
{
lseek
}{
fd
\,
pos
\,
how
}
...
@@ -245,6 +246,10 @@ points. (On systems without symbolic links, this always raises
...
@@ -245,6 +246,10 @@ points. (On systems without symbolic links, this always raises
\code
{
posix.error
}
.)
\code
{
posix.error
}
.)
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
remove
}{
path
}
Remove the file
\var
{
path
}
. See
\code
{
rmdir
}
below to remove a directory.
\end{funcdesc}
\begin{funcdesc}
{
rename
}{
src
\,
dst
}
\begin{funcdesc}
{
rename
}{
src
\,
dst
}
Rename the file or directory
\var
{
src
}
to
\var
{
dst
}
.
Rename the file or directory
\var
{
src
}
to
\var
{
dst
}
.
\end{funcdesc}
\end{funcdesc}
...
@@ -324,7 +329,8 @@ hostname is \code{socket.gethostname()}. (Not on MS-DOS, nor on older
...
@@ -324,7 +329,8 @@ hostname is \code{socket.gethostname()}. (Not on MS-DOS, nor on older
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
unlink
}{
path
}
\begin{funcdesc}
{
unlink
}{
path
}
Unlink
\var
{
path
}
.
Remove the file
\var
{
path
}
. This is the same function as
\code
{
remove
}
;
the
\code
{
unlink
}
name is its traditional
\UNIX
{}
name.
\end{funcdesc}
\end{funcdesc}
\begin{funcdesc}
{
utime
}{
path
\,
\(
atime
\,
mtime
\)}
\begin{funcdesc}
{
utime
}{
path
\,
\(
atime
\,
mtime
\)}
...
...
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