Help for this page

Select Code to Download


  1. or download this
    $ /bin/pwd              GNU pwd
    /tmp/ikegami
    ...
    
    $ PWD=/ bash -c pwd     bash's builtin uses $ENV{PWD}
    /tmp/ikegami
    
  2. or download this
    static char *
    getcwd_logical(void)
    ...
        errno = ENOENT;
        return (NULL);
    }