gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnugo-devel] pipe


From: Wolfgang Manner
Subject: [gnugo-devel] pipe
Date: Tue, 13 Jan 2004 16:03:03 +0100 (CET)

who knows about pipes ?

according to what i read
   pipe(PIPEDES)

should give

   If successful, two file descriptors are stored in PIPEDES;
   bytes written on PIPEDES[1] can be read from PIPEDES[0].
   Returns 0 if successful, -1 if not.  */

 but when i do it i get

PIPEDES[0] = 4
PIPEDES[1]   some address

and it returns 3

do i have a old version ? i have noticed that i can include
unistd.h
or not, it doesnt make any difference

thanks to anybody who can help me

wolfgang




reply via email to

[Prev in Thread] Current Thread [Next in Thread]