🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: mod.os.os9
Article #17

$fork, $chain, & pipes queery

#17
From: daleske
Date: Thu, 21 Aug 1986 17:01
17 lines
1463 bytes
Well I have a question for the os9 wizards out there.  Can anyone
give me a clear explanation similar to the one on chain() and os9fork()
of how to use the pipe calls in OS9 "C" and how to use the related
assembler calls?   If possible please include examples.

I fully understand the use of pipes from the shell, but! how do I create
my own inside a program I write.  As an example, I feel I should be able
to read the output of the dir command into a buffer in my program.

If it helps, I DO understand how the Unix fork() and popen() calls work.
Also, all the the above refers to OS9 6809.
_________________________________________________________________________
UUCP:	(1) seismo!why_not!scsnet!sunder		Mark E. Sunderlin
	(2) ihnp4!chinet!megabyte			aka Dr. Megabyte
CIS:	74026,3235					(202) 634-2529
Quote:	"When The Going Gets Tough, The Tough Go Shopping" (9-4 EDT)
Mail:	IRS  PM:PFR:D:NO  1111 Constitution Ave. NW  Washington,DC 20224  
Technical Details
Message-ID: <1536@cbdkc1.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!gatech!akgua!mhuxv!mhuxt!houxm!ihnp4!cbosgd!cbdkc1!daleske

Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: arc1-ca.pugleaf.net!utzoo!mnetor!seismo!gatech!akgua!mhuxv!mhuxt!houxm!ihnp4!cbosgd!cbdkc1!daleske
From: daleske@cbdkc1.UUCP
Newsgroups: mod.os.os9
Subject: $fork, $chain, & pipes queery
Message-ID: <1536@cbdkc1.UUCP>
Date: Thu, 21-Aug-86 13:01:40 EDT
Article-I.D.: cbdkc1.1536
Posted: Thu Aug 21 13:01:40 1986
Date-Received: Fri, 22-Aug-86 21:09:20 EDT
Organization: AT&T Bell Laboratories, Columbus
Lines: 17
Approved: daleske@cbdkc1.ATT.COM