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
1e8b63eb
Kaydet (Commit)
1e8b63eb
authored
Haz 26, 1996
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Document some process group stuff; mkdir mode arg optional; mkfifo.
üst
db9a7bba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
110 additions
and
2 deletions
+110
-2
libposix.tex
Doc/lib/libposix.tex
+55
-1
libposix.tex
Doc/libposix.tex
+55
-1
No files found.
Doc/lib/libposix.tex
Dosyayı görüntüle @
1e8b63eb
...
...
@@ -150,6 +150,11 @@ Return the current process's group id.
(Not on MS-DOS.)
\end{funcdesc}
\begin{funcdesc}
{
getpgrp
}{}
Return the current process group id.
(Not on MS-DOS.)
\end{funcdesc}
\begin{funcdesc}
{
getpid
}{}
Return the current process id.
(Not on MS-DOS.)
...
...
@@ -194,8 +199,25 @@ Like \code{stat()}, but do not follow symbolic links. (On systems
without symbolic links, this is identical to
\code
{
posix.stat
}
.)
\end{funcdesc}
\begin{funcdesc}
{
mkdir
}{
path
\,
mode
}
\begin{funcdesc}
{
mkfifo
}{
path
\optional
{
\,
mode
}}
Create a FIFO (a POSIX named pipe) named
\var
{
path
}
with numeric mode
\var
{
mode
}
. The default
\var
{
mode
}
is 0666 (octal). The current
umask value is first masked out from the mode.
(Not on MS-DOS.)
FIFOs are pipes that can be accessed like regular files. FIFOs exist
until they are deleted (for example with
\code
{
os.unlink
}
).
Generally, FIFOs are used as rendez-vous between ``client'' and
``server'' type processes: the server opens the FIFO for reading, and
the client opens it for writing. Note that
\code
{
mkfifo()
}
doesn't
open the FIFO -- it just creates the rendez-vous point.
\end{funcdesc}
\begin{funcdesc}
{
mkdir
}{
path
\optional
{
\,
mode
}}
Create a directory named
\var
{
path
}
with numeric mode
\var
{
mode
}
.
The default
\var
{
mode
}
is 0777 (octal). On some systems,
\var
{
mode
}
is ignored. Where it is used, the current umask value is first
masked out.
\end{funcdesc}
\begin{funcdesc}
{
nice
}{
increment
}
...
...
@@ -263,6 +285,25 @@ Set the current process's group id.
(Not on MS-DOS.)
\end{funcdesc}
\begin{funcdesc}
{
setpgrp
}{}
Calls the system call
\code
{
setpgrp()
}
or
\code
{
setpgrp(0, 0)
}
depending on which version is implemented (if any). See the
{
\UNIX
}
manual for the semantics.
(Not on MS-DOS.)
\end{funcdesc}
\begin{funcdesc}
{
setpgid
}{
pid
\,
pgrp
}
Calls the system call
\code
{
setpgid()
}
. See the
{
\UNIX
}
manual for
the semantics.
(Not on MS-DOS.)
\end{funcdesc}
\begin{funcdesc}
{
setsid
}{}
Calls the system call
\code
{
setsid()
}
. See the
{
\UNIX
}
manual for the
semantics.
(Not on MS-DOS.)
\end{funcdesc}
\begin{funcdesc}
{
setuid
}{
uid
}
Set the current process's user id.
(Not on MS-DOS.)
...
...
@@ -304,6 +345,19 @@ value is the exit status of the process as returned by Standard C
\code
{
system()
}
.
\end{funcdesc}
\begin{funcdesc}
{
tcgetpgrp
}{
fd
}
Return the process group associated with the terminal given by
\var
{
fd
}
(an open file descriptor as returned by
\code
{
posix.open()
}
).
(Not on MS-DOS.)
\end{funcdesc}
\begin{funcdesc}
{
tcsetpgrp
}{
fd
\,
pg
}
Set the process group associated with the terminal given by
\var
{
fd
}
(an open file descriptor as returned by
\code
{
posix.open()
}
)
to
\var
{
pg
}
.
(Not on MS-DOS.)
\end{funcdesc}
\begin{funcdesc}
{
times
}{}
Return a 5-tuple of floating point numbers indicating accumulated (CPU
or other)
...
...
Doc/libposix.tex
Dosyayı görüntüle @
1e8b63eb
...
...
@@ -150,6 +150,11 @@ Return the current process's group id.
(Not on MS-DOS.)
\end{funcdesc}
\begin{funcdesc}
{
getpgrp
}{}
Return the current process group id.
(Not on MS-DOS.)
\end{funcdesc}
\begin{funcdesc}
{
getpid
}{}
Return the current process id.
(Not on MS-DOS.)
...
...
@@ -194,8 +199,25 @@ Like \code{stat()}, but do not follow symbolic links. (On systems
without symbolic links, this is identical to
\code
{
posix.stat
}
.)
\end{funcdesc}
\begin{funcdesc}
{
mkdir
}{
path
\,
mode
}
\begin{funcdesc}
{
mkfifo
}{
path
\optional
{
\,
mode
}}
Create a FIFO (a POSIX named pipe) named
\var
{
path
}
with numeric mode
\var
{
mode
}
. The default
\var
{
mode
}
is 0666 (octal). The current
umask value is first masked out from the mode.
(Not on MS-DOS.)
FIFOs are pipes that can be accessed like regular files. FIFOs exist
until they are deleted (for example with
\code
{
os.unlink
}
).
Generally, FIFOs are used as rendez-vous between ``client'' and
``server'' type processes: the server opens the FIFO for reading, and
the client opens it for writing. Note that
\code
{
mkfifo()
}
doesn't
open the FIFO -- it just creates the rendez-vous point.
\end{funcdesc}
\begin{funcdesc}
{
mkdir
}{
path
\optional
{
\,
mode
}}
Create a directory named
\var
{
path
}
with numeric mode
\var
{
mode
}
.
The default
\var
{
mode
}
is 0777 (octal). On some systems,
\var
{
mode
}
is ignored. Where it is used, the current umask value is first
masked out.
\end{funcdesc}
\begin{funcdesc}
{
nice
}{
increment
}
...
...
@@ -263,6 +285,25 @@ Set the current process's group id.
(Not on MS-DOS.)
\end{funcdesc}
\begin{funcdesc}
{
setpgrp
}{}
Calls the system call
\code
{
setpgrp()
}
or
\code
{
setpgrp(0, 0)
}
depending on which version is implemented (if any). See the
{
\UNIX
}
manual for the semantics.
(Not on MS-DOS.)
\end{funcdesc}
\begin{funcdesc}
{
setpgid
}{
pid
\,
pgrp
}
Calls the system call
\code
{
setpgid()
}
. See the
{
\UNIX
}
manual for
the semantics.
(Not on MS-DOS.)
\end{funcdesc}
\begin{funcdesc}
{
setsid
}{}
Calls the system call
\code
{
setsid()
}
. See the
{
\UNIX
}
manual for the
semantics.
(Not on MS-DOS.)
\end{funcdesc}
\begin{funcdesc}
{
setuid
}{
uid
}
Set the current process's user id.
(Not on MS-DOS.)
...
...
@@ -304,6 +345,19 @@ value is the exit status of the process as returned by Standard C
\code
{
system()
}
.
\end{funcdesc}
\begin{funcdesc}
{
tcgetpgrp
}{
fd
}
Return the process group associated with the terminal given by
\var
{
fd
}
(an open file descriptor as returned by
\code
{
posix.open()
}
).
(Not on MS-DOS.)
\end{funcdesc}
\begin{funcdesc}
{
tcsetpgrp
}{
fd
\,
pg
}
Set the process group associated with the terminal given by
\var
{
fd
}
(an open file descriptor as returned by
\code
{
posix.open()
}
)
to
\var
{
pg
}
.
(Not on MS-DOS.)
\end{funcdesc}
\begin{funcdesc}
{
times
}{}
Return a 5-tuple of floating point numbers indicating accumulated (CPU
or other)
...
...
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