summaryrefslogtreecommitdiff
path: root/Libraries/LibC/stdio.h
AgeCommit message (Collapse)Author
2020-02-02LibC: Move `FILE` definition to bits/FILE.hJesse Buhagiar
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.
2020-01-18Meta: Add license header to source filesAndreas Kling
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.
2019-12-27LibC: implement fgetpos and fsetposPaweł Cholewa
They're just "front ends" for ftell and fseek, but they do their job. Fixes #913
2019-11-16LibC: Implemented getc_unlocked, stubbed flockfileBrandon Scott
Implemented getc_unlocked and stubbed out flockfile() and funlockfile().
2019-11-09LibC: Minor changes to make nasm workPaweł Cholewa
* Added some missing macros to headers * Stubbed strftime() time function to not assert * Added "rt" mode to fopen(), working just like "r" or "rb"
2019-07-21Kernel+LibC: Add a dbgputstr() syscall for sending strings to debug output.Andreas Kling
This is very handy for the DebugLogStream implementation, among others. :^)
2019-07-21Kernel+LibC: Add a dbgputch() syscall and use it for userspace dbgprintf().Andreas Kling
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. :^)
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/.