On Mon, Mar 17, 2008 at 6:50 AM, Raymond Toy <
toy.raymond@...> wrote:
> Gabriel Dos Reis wrote:
> > On Sat, Jan 26, 2008 at 11:09 AM, Raymond Toy <
toy.raymond@...> wrote:
> >
> >> Can any one help me to get gcl to allow me to call mkdir?
> >>
> >> I've tried a few obvious things, but everyone fails when loading the
> >> generated .o file. It says it can't find mkdir. :-(
> >>
> >
> > maybe a stupid question: which function `mkdir' are you referring to?
> > The one built into GCL? Or the one accessible from POSIX? Or the
> > one from the shell?
> >
> >
> Oh. Is there one already available? What is it called? I tried
> apropos but didn't find anything.
GCL comes with a `mkdir' function in package SYSTEM.
>
> In any case, a simple example calling mkdir in libc would be nice. I
> can't figure out how to do it.
>
(si::chdir dir)
works for me.
> Ray
>
>
_______________________________________________
Gcl-devel mailing list
Gcl-devel@...
http://lists.gnu.org/mailman/listinfo/gcl-devel