Paweł Cholewa
b5c3bc6a71
LibC: implement fgetpos and fsetpos
...
They're just "front ends" for ftell and fseek, but they do their
job.
Fixes #913
2019-12-27 23:09:08 +01:00
Brandon Scott
3069988a75
LibC: Implemented getc_unlocked, stubbed flockfile
...
Implemented getc_unlocked and stubbed out flockfile() and funlockfile().
2019-11-16 12:50:50 +01:00
Paweł Cholewa
c2a8c4cedd
LibC: Minor changes to make nasm work
...
* 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-11-09 20:52:34 +01:00
Andreas Kling
af81645a2a
Kernel+LibC: Add a dbgputstr() syscall for sending strings to debug output.
...
This is very handy for the DebugLogStream implementation, among others. :^)
2019-07-21 21:43:37 +02:00
Andreas Kling
3fce2fb205
Kernel+LibC: Add a dbgputch() syscall and use it for userspace dbgprintf().
...
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-21 19:45:31 +02:00
Andreas Kling
04b9dc2d30
Libraries: Create top level directory for libraries.
...
Things were getting a little crowded in the project root, so this patch
moves the Lib*/ directories into Libraries/.
2019-07-04 16:16:50 +02:00