libcmini
libcmini copied to clipboard
small footprint C standard library for Atari ST and m68k-atari-mint cross compiler toolchain
- C: POSIX requires NULL to be defined as an integer constant expression with value 0 cast to void*. - C++ requires NULL to be defined as an interger constant...
If the length of src is less than n, strncpy() should write additional null bytes to dest to ensure that a total of n bytes are written.
The title says it all. As it doesn't use inline assembly that much, it shouldn't be too complex.
Given a write protected regular file (e.g. with st_mode = 33024), the following fails: fd = open(fname, O_RDONLY, 0) On return fd is -1 and errno is EACCESS (36) Tested...
In sources/open.c, struct stat is included from ``, which is not provided here and therefor taken from mintlib. But the implementation of stat() uses the structure definition of `include/ext.h`, which...
Use gcc's private stddef.h instead.