Re: chdir on linux does not work

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

 



> 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
-
: send the line "unsubscribe linux-assembly" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies]     [Security]     [Linux C Programming]     [Linux for Hams]     [DCCP]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux