> #include <u.h> > #include<libc.h> > int main(void){exits(nil);} > > is 3317 bytes on my atom box.
Bloatware! A quick visit to 6th edition Unix (on 32-bit Interdata) via the SIMH time machine produces this: # cat >t.c int main() {exit(0);} # cc t.c # ls -l a.out -rwxrwxrwx 1 root 164 Jun 4 15:53 a.out # date Mon Jun 4 15:53:30 EST 1979 To put this into context: # ls -l /bin/exit /bin/cat /bin/sh -rwxr-xr-x 1 root 1436 Nov 13 1978 /bin/cat -rwxr-xr-x 1 root 192 Nov 13 1978 /bin/exit -rwxr-xr-x 1 root 8316 Nov 13 1978 /bin/sh