Re: Trouble with pipe function

From: Chris Schumacher (kensu___at_hotmail.com)
Date: 11/01/04


Date: Mon, 01 Nov 2004 09:43:10 GMT


"B. v Ingen Schenau" <bart@ingen.ddns.info> wrote in news:2uje38F2bld8jU1
@uni-berlin.de:

> I am sorry, but you are asking the wrong group. Standard C and C++ do
> not have the notion of multi-process/threading, nor are pipes or
> readdir() defined by the C or C++ standard.

That brings about an interesting question, though...
Is it possible to create pipes using C/C++? Or do you need something more
low-level to do that? (what I'm asking is if, without using any
implementation specific code or system calls, can you write a program that
can pipe in or pipe out information?)
Unix was written in C, but were the pipes part fo the code that had to be
rewritten in assembler every time the system was ported?

                                                              -==Kensu==-