home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / amiga / programm / 15508 < prev    next >
Encoding:
Text File  |  1992-11-08  |  1.4 KB  |  30 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!mcsun!chsun!bernina!wild
  3. From: wild@nessie.cs.id.ethz.ch (Markus Wild)
  4. Subject: Re: running segments from within an application
  5. Message-ID: <1992Nov7.141904.15440@bernina.ethz.ch>
  6. Sender: news@bernina.ethz.ch (USENET News System)
  7. Organization: Swiss Federal Institute of Technology (ETH), Zurich, CH
  8. References: <9211050408.AA24272@mackay.mpce.mq.edu.au> <36744@cbmvax.commodore.com> <10018@cbmger.de.so.commodore.com>
  9. Date: Sat, 7 Nov 1992 14:19:04 GMT
  10. Lines: 18
  11.  
  12. In article <10018@cbmger.de.so.commodore.com> peterk@cbmger.de.so.commodore.com (Dr Peter Kittel Germany) writes:
  13. >In article <36744@cbmvax.commodore.com> jesup@cbmvax.commodore.com (Randell Jesup) writes:
  14. > >really safe way.  The problem is that there are two separate ways in which
  15. > >arguments are passed (well actually 3): 1) pointer to string in a0, length in
  16. > >d0, string usually has a \n in it at the end.  2) as buffered input on the
  17. > >input filehandle (RunCommand does this for you).  3) via Set/GetArguments()
  18. > >(also done for you by RunCommand).
  19. >
  20. >And how about 4) via a normal file in RAM DISK: ?
  21.  
  22. Hm.. 4 sounds just as custom as 5) via the stack, as execve() passes
  23. argc, argv, environ to ixemul-children;-)
  24.  
  25. -Markus
  26. -- 
  27. Markus M. Wild    -  wild@nessie.cs.id.ethz.ch  |  wild@amiga.physik.unizh.ch 
  28. Vital papers will demonstrate their vitality by spontaneously moving
  29. from where you left them to where you can't find them.
  30.