summaryrefslogtreecommitdiff
path: root/Libraries/LibC/getopt.cpp
AgeCommit message (Collapse)Author
2020-09-06LibC: Don't include things required for getopt_long in unistd.hItamar
Previously, we were including the whole of <getopt.h> in <unistd.h>. However according to the posix <unistd.h> doesn't have to contain everything we had in <getopt.h>. This fixes some symbol collisions that broke the git port.
2020-06-17Meta: Scale back overly informal user-facing stringsAndreas Kling
We were getting a little overly memey in some places, so let's scale things back to business-casual. Informal language is fine in comments, commits and debug logs, but let's keep the runtime nice and presentable. :^)
2020-05-30LibC: Rewrite getopt()Sergey Bugaev
Fixes https://github.com/SerenityOS/serenity/issues/91
2019-09-17LibC: Ensure getopt error messages end with a newlineSergey Bugaev
This is what POSIX seems to specify, and also what glibc getopt does.
2019-09-06LibC: Borrow a slightly more functional getopt()Andreas Kling
We were already borrowing a getopt() from the BSD family until the day we write our own. This patch borrows a slightly more modern one so we also get getopt_long(). Fixes #190. See also #91 for the desire to eventually NIH our own getopt()..
2019-07-04Libraries: Create top level directory for libraries.Andreas Kling
Things were getting a little crowded in the project root, so this patch moves the Lib*/ directories into Libraries/.