Age | Commit message (Collapse) | Author |
|
There are some headers in libc that require us to have definitions,
such as `FILE` available to us (such as in `pwd.h`). It is bad
practice to include the entirety of `stdio.h`, so it makes more
sense to put `FILE` into it's own header.
|
|
As suggested by Joshua, this commit adds the 2-clause BSD license as a
comment block to the top of every source file.
For the first pass, I've just added myself for simplicity. I encourage
everyone to add themselves as copyright holders of any file they've
added or modified in some significant way. If I've added myself in
error somewhere, feel free to replace it with the appropriate copyright
holder instead.
Going forward, all new source files should include a license header.
|
|
They're just "front ends" for ftell and fseek, but they do their
job.
Fixes #913
|
|
Implemented getc_unlocked and stubbed out flockfile() and funlockfile().
|
|
* Added some missing macros to headers
* Stubbed strftime() time function to not assert
* Added "rt" mode to fopen(), working just like "r" or "rb"
|
|
This is very handy for the DebugLogStream implementation, among others. :^)
|
|
The "stddbg" stream was a cute idea but we never ended up using it in
practice, so let's simplify this and implement userspace dbgprintf() on top
of a simple dbgputch() syscall instead.
This makes debugging LibC startup a little bit easier. :^)
|
|
Things were getting a little crowded in the project root, so this patch
moves the Lib*/ directories into Libraries/.
|