Re: [PATCH 08/11] bsd-user: Implement rmdir and undocumented -_getcwd

2022-06-13 Thread Warner Losh
On Mon, Jun 13, 2022 at 1:52 PM Richard Henderson < richard.hender...@linaro.org> wrote: > On 6/12/22 13:48, Warner Losh wrote: > > Implemenet rmdir and __getcwd. Declare __getcwd as extern because > > there's no installed FreeBSD header that has it. It's used internally by > > libc, which doesn't

Re: [PATCH 08/11] bsd-user: Implement rmdir and undocumented -_getcwd

2022-06-13 Thread Richard Henderson
On 6/12/22 13:48, Warner Losh wrote: Implemenet rmdir and __getcwd. Declare __getcwd as extern because there's no installed FreeBSD header that has it. It's used internally by libc, which doesn't provide an external declaration, but does export the symbol. Typo in subject: s/-/_/. @@ -55,6 +5

[PATCH 08/11] bsd-user: Implement rmdir and undocumented -_getcwd

2022-06-12 Thread Warner Losh
Implemenet rmdir and __getcwd. Declare __getcwd as extern because there's no installed FreeBSD header that has it. It's used internally by libc, which doesn't provide an external declaration, but does export the symbol. Signed-off-by: Stacey Son Signed-off-by: Jung-uk Kim Signed-off-by: Warner L