boot2

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

011-write-bv-fd.scm (201B)


      1 ;; tests/cc-util/11-write-bv-fd.scm — write-bv-fd writes the full bv to fd 1.
      2 ;; Assumes cc/util.scm is loaded.
      3 ;;
      4 ;; Expected stdout: "hello\nworld\n"
      5 
      6 (write-bv-fd 1 "hello\nworld\n")
      7 (sys-exit 0)