Re: chdir on linux does not work
Brian Raiter <[email protected]> Wed, 24 May 2006 00:15:19 -0700
| Newsgroups | org.kernel.vger.linux-assembly |
|---|---|
| Message-ID | <[email protected]> |
> Adding a call to sys_getcwd (__NR_ 183) (why is this man 3, not man > 2 ???) Good question, actually. I don't know. >> You can't e.g. write a replacement for shell's builtin "cd" >> command that way. > > Okay, how *would* we do that? It is simply not possible. Like setenv, cd absolutely must be a shell builtin. b