mikaku / Fiwix

A UNIX-like kernel for the i386 architecture
https://www.fiwix.org
Other
407 stars 32 forks source link

Implement sys_getcwd #4

Closed alwinber closed 2 years ago

alwinber commented 2 years ago

Currently the functionality to get the current working directory in Fiwix is provided by newlib. In Linux 2.2+ the syscall getcwd was added for this purpose. This Implementation does increase compatibility with a few small, unmodified linux binaries and can potentially serve as a small step to port larger C Libraries.

mikaku commented 2 years ago

Thanks.