🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #14111

CreateProc.. Help!!!

#14111
From: Edward Bartz
Date: Thu, 08 Mar 1990 14:52
27 lines
1673 bytes
	Help!!!!  I am tring to create a process from within a device
driver.  I want the process to among other things be able to open
a con window and display output.  As a base, I started with the 
proctest example by Rob Peck on fish disk 5.  I also made the few
changes	changes discribed in his book.  Then compilied it under Manx 5.0,
and executed the program to make sure the code worked. The subprocess runs, I 
varified this by having it add 2 numbers and return the result.  But
it won't printf, and won't fd=fopen("test","w"); Manx also doesn't
seem to like the line stdout = msg->outpointer; in the program 
littleproc.c, so I removed it.  This would explain why printf won't work,
but not why the file doesn't open.  What gives?


	On a second note.... Has anyone had trouble useing the include
files in manx 5.0 for the devices like timer and trackdisk.  When I 
compile a program with say #include <device/trackdisk.h>  it tells me
their are errors in the include file.  It points to lines like 
#endif !EXECIO_H.  To use the include file I had to change all such
lines to #endif /*!EXECIO_H*/, then it seemed to work. Why?

							Ed Bartz
-- 

    UUCP: bartz@elbereth.uucp 
    BITNET: bartz@rutphy.bitnet
    USSnail: 12 Roosevelt St. South River, NJ 08882
Technical Details
Message-ID: <Mar.8.09.52.44.1990.2541@elbereth.rutgers.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rutgers!elbereth.rutgers.edu!bartz

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!rutgers!elbereth.rutgers.edu!bartz
From: bartz@elbereth.rutgers.edu (Edward Bartz)
Newsgroups: comp.sys.amiga.tech
Subject: CreateProc.. Help!!!
Message-ID: <Mar.8.09.52.44.1990.2541@elbereth.rutgers.edu>
Date: 8 Mar 90 14:52:44 GMT
Distribution: na
Organization: Rutgers Univ., New Brunswick, N.J.
Lines: 27