gint/include/gint
Lephe 3aa1471ac5
fs: track offset of Fugue files manually
This helped locate some bugs:
* read() could read past EOF due to BFile_Read() allowing you to read up
  until the end of the last sector, beyond the file size
* pread() did not restore the file offset because the negative seek at
  the end is not relative (that was the CASIOWIN fs API), so pread()
  could not actually be written without knowing the current position
* lseek() would clamp you to EOF but still return its out-of-bounds
  arguments, as a direct result of BFile_Seek() doing that

Benefits:
* Made pread() a generic function
2022-01-06 14:05:52 +01:00
..
defs defs: take ssize_t and off_t in the standard library 2021-07-02 09:52:17 +02:00
drivers r61524: add low-level get/set and start_frame functions 2021-06-22 17:52:26 +02:00
mpu mpu/cpg.h: specify DDCLKCR 2021-06-22 17:51:54 +02:00
std std: move endian.h to fxlibc 2021-06-08 10:05:33 +02:00
bfile.h fs: folder support, part 1 (mkdir/rmdir and the opendir(3) family) 2021-12-21 19:01:00 +01:00
clock.h add C++ header guards 2021-06-13 18:13:09 +02:00
config.h.in kmalloc: implement a custom segregated list allocator 2021-03-15 15:04:24 +01:00
cpu.h cpu, dma: add interrupt-cancellable sleep (perfect async sleep) 2021-06-17 14:32:08 +02:00
display-cg.h fix bad indent 2021-12-31 10:37:59 +01:00
display-fx.h add C++ header guards 2021-06-13 18:13:09 +02:00
display.h usb: add video capture through the fxlink protocol 2021-08-11 01:43:26 +02:00
dma.h add C++ header guards 2021-06-13 18:13:09 +02:00
drivers.h add C++ header guards 2021-06-13 18:13:09 +02:00
exc.h add C++ header guards 2021-06-13 18:13:09 +02:00
fs.h fs: track offset of Fugue files manually 2022-01-06 14:05:52 +01:00
gint.h add C++ header guards 2021-06-13 18:13:09 +02:00
gray.h add C++ header guards 2021-06-13 18:13:09 +02:00
hardware.h hardware: expose filesystem type in the hardware info 2021-12-06 21:31:00 +01:00
intc.h add C++ header guards 2021-06-13 18:13:09 +02:00
keyboard.h keyboard: add a note about the use of transforms in getkey_opt() 2021-09-01 16:21:53 +02:00
keycodes.h add C++ header guards 2021-06-13 18:13:09 +02:00
kmalloc.h add C++ header guards 2021-06-13 18:13:09 +02:00
mmu.h add C++ header guards 2021-06-13 18:13:09 +02:00
rtc.h fs: track offset of Fugue files manually 2022-01-06 14:05:52 +01:00
timer.h tmu: fix freeze when using sleep_us_spin() with interrupts on 2021-11-15 06:43:00 +01:00
usb-ff-bulk.h usb: add video capture through the fxlink protocol 2021-08-11 01:43:26 +02:00
usb.h add C++ header guards 2021-06-13 18:13:09 +02:00