Daniel Reichelt writes: > > a) > when assigning > int i = pclose(pipeFD); > OR assigning > long i = pclose(pipeFD); > I get a compiler warning like this: > warning: assignment makes integer from pointer without a cast
So pclose is apparently declared as returning a pointer. That's unusual. The man page isn't wrong, but something is wrong in your test program or an #included file. We'd need to see the whole program (after preprocessing) to know where the bug really is. Run "gcc -E -dD" on your test file, and look for pclose in the output. -- Alan Curry -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org