managarm / mlibc

Portable C standard library
Other
851 stars 130 forks source link

Unify `getopt` and `getopt_long` implementations #491

Open 64 opened 2 years ago

64 commented 2 years ago

There is a lot of code duplication between the two. We could consider porting qookei's parser from here https://github.com/qookei/conflict/blob/master/include/conflict/parser.hpp while we're at it.

no92 commented 1 year ago

Some groundwork for sharing a common implementation is being laid in #741.