write #include < unistd.h > #include < stdio.h > int main() { ssize_t n; if ((n = write(1, "Hello\n", 6)) < 0){ perror("write"); return 1; } return 0; }