2
0

args.c 276 B

123456789101112
  1. #include <string.h>
  2. #include <unistd.h>
  3. #include "test_helpers.h"
  4. int main(int argc, char *argv[]) {
  5. for(int i = 0; i < argc; i++) {
  6. write(STDOUT_FILENO, argv[i], strlen(argv[i]));
  7. write(STDOUT_FILENO, " ", 1);
  8. }
  9. write(STDOUT_FILENO, "\n", 1);
  10. }