OpenAmiga (293/959)

From:Aaron Optimizer Digulla
Date:7 Aug 2000 at 12:59:34
Subject:Re: AMIOPEN: ave_open()

Zitiere Deryk Robosson <deryk@iitowns.com>:

> > if you goto the cvs server and have a look at the ixemulng package
> that
> > me and aaron are working on you will find a whole load of emulated
> > functions (more or less working !), execvp() works, fork() does not
> > (but should be easy to fake), and you can just put a dummy in for
> > inet_aton().
>
> Rummaging through the docs I found sys/kn/proc/ stuff which should in
> theory provide all we would need in relation to the fork() etc.. gang.
> The only drawback that I can see with that direction is that anything
> you want to spawn HAS to be a tool, and HAS to be a main tool..

No. fork() needs MP (if you think this isn't true, then you don't know
how fork() words and I suggest that you shut up, ok ? ;-). We might
be able to implement vfork() but then, this is really not necessary.
Just use the new ixemul_exec() that can do the job and probably better
(well, if we find the lurking bug and Tao fixes the flush() bug).

> Digging around the filesystem resulted in this:
> /dev/socket/tcpip/inetaton.00
> So, the tool exists, just nothing in the C API for it yet AFAICT.

You could disassemble and write a header for it :-) ? That seems to be
"how it should be done" as far I could figure from the inofficial examples
uploaded on the FTP server.

> > Or if you fancy writing complete emultaions you could perhaps add them
> > to ixemulng ...
>
> Nope, I sure don't. I would rather not rely on a third party library
> (if entirely possible) for an application, thanks. :)

So you would rather reinvent the wheel and duplicate our work for
nothing ? Fine with me. :-)



==============================================
Sowatec AG, CH-8330 Pf�ffikon (ZH)
Witzbergstr. 7, http://www.sowatec.com
Tel: +41-(0)1-952 55 55
Fax: +41-(0)1-952 55 66
----------------------------------------------
Aaron "Optimizer" Digulla, digulla@sowatec.com
==============================================

Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html