write.c 166 B

12345678
  1. #include <unistd.h>
  2. #include "test_helpers.h"
  3. int main(void) {
  4. int written = write(STDOUT_FILENO, "Hello World!\n", 13);
  5. ERROR_IF(write, written, == -1);
  6. }