6 ms·
Wow this is really cool! Seems to use flash and some ram for the kernel, and run userspace code from ram. But iiih it's K&R C: long strtol(nptr, endpt
by unwind 4y ago
Wow this is really cool! Seems to use flash and some ram for the kernel, and run userspace code from ram.
But iiih it's K&R C:
long
strtol(nptr, endptr, base)
const char *nptr;
char **endptr;
register int base;
{
Is this expected given the heritage? I know nothing about BSDs basically.
Edit: code formatting.
- nix23 4y agoIt's based on BSD 2.11, released in 1991 ;) https://en.wikipedia.org/wiki/Berkeley_Software_Distribution#/media/File:Unix_history-simple.svg https://en.wikipedia.org/wiki/Berkeley_Software_Distribution...
- pjmlp 4y agoTo make it even more explictly how much it took for UNIX world to catch up with ANSI/ISO C89, while coding on HP-UX 11 back in 1999 - 2001, I still had to write K&R C as the aC compiler installed on the system wasn't fully compliant.