I tested this with the example in the Linux stat man page:
https://linux.die.net/man/2/stat
the output looks correct for the fields that make sense.
DJGPP's stat() is more thorough (and supports links and LFNs) though it comes at the cost of bigger code. Could be another project (porting DJGPP libc to ia16-elf-gcc...).
I tested this with the example in the Linux stat man page: https://linux.die.net/man/2/stat the output looks correct for the fields that make sense.
DJGPP's stat() is more thorough (and supports links and LFNs) though it comes at the cost of bigger code. Could be another project (porting DJGPP libc to ia16-elf-gcc...).