[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] chroot()



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