boot2

Playing with the boostrap
git clone https://git.ryansepassi.com/git/boot2.git
Log | Files | Refs | README

006-puts.c (249B)


      1 /* puts() — newline-appending fputs. Mes implements via fputs+'\n' on
      2  * stdout; verifies the same __stdout-init invariant as 03 and adds
      3  * stdio's auto-newline. */
      4 extern int puts (char const *s);
      5 
      6 int
      7 main (void)
      8 {
      9   puts ("ok");
     10   return 0;
     11 }