Home :: International :: Manuals :: Howto :: FAQ :: Man Pages :: Email Login

 
 

 

PIPE

Section: Systemaufrufe (2)
Updated: 31 Januar 1996
Index Return to Main Contents
 

BEZEICHNUNG

pipe - erstellt eine Pipe  

UEBERSICHT

#include <unistd.h>

int pipe(int modus[2]);  

BESCHREIBUNG

pipe erzeugt zwei auf eine Pipe-Inode zeigende Dateibe- schreibungen (Dateideskriptoren) und setzt sie in das entsprechende Feld (Array) von modus. Hierbei steht modus[0] für Lesezugriff und modus[1] für Schreibzugriff.  

RUECKGABEWERTE

Bei erfolgreicher Ausführung wird '0'- und im Falle eines Fehlers '-1' zurückgegeben und errno entsprechend gesetzt.  

FEHLER

EMFILE
Der Prozess benutzt zu viele Deskriptoren.
ENFILE
In der Dateitabelle ist kein Platz mehr.
EFAULT
modus ist eine ungültige Angabe.
 

SIEHE AUCH

read(2), write(2), fork(2), socketpair(2).


 

Index

BEZEICHNUNG
UEBERSICHT
BESCHREIBUNG
RUECKGABEWERTE
FEHLER
SIEHE AUCH

 
 
 
 
Google
  Web Linuxinfor   
 

Home :: Copyright :: Privacy :: Credits :: Get a free Linuxinfor Email Account

Document on this page is part of "Linuxinfor Man Pages in HTML Format: man2". See Index Page for more info about Authorship and Copyright.

1999-2008 Linuxinfor.com. No rights reserved.