[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] chroot()
- To: MiNT List <mint@fishpool.com>
- Subject: Re: [MiNT] chroot()
- From: Tomas Berndtsson <tomas@nocrew.org>
- Date: 10 Mar 2000 13:00:57 +0100
- In-reply-to: Martin-Éric Racine's message of "Fri, 10 Mar 2000 13:44:03 +0200"
- References: <Pine.MNT.4.10.10003101343260.300-100000@rakas>
- Sender: owner-mint@fishpool.com
- User-agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.5
Martin-Éric Racine <q-funk@pp.fishpool.fi> writes:
> On 2000-3-10, Tomas Berndtsson <tomas@nocrew.org> wrote:
>
> > > Why call it Dchroot when other OSes simply call it chroot?
> >
> > You misunderstand. The GEMDOS trap call is called Dchroot(), but
> > MiNTLib of course has a wrapper which is called chroot().
>
> I see. Needlessly confusing, but well... ;-)
It's not confusing, and necessary, because you don't want chroot() to
go directly to the trap call, since the trap call is certainly not
compatible with other OSes. Ok, maybe some of the trap calls are, but
not all.
Tomas