summaryrefslogtreecommitdiff
path: root/main.c
blob: 0b1ca8e26692e5ada7b3304b96cbc84ae8fc91b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
  sleep(2);
  if (argc < 2) {
    printf("Usage: %s <name>\n", argv[1]);
    return EXIT_FAILURE;
  }
  printf("Hello World from %s\n", argv[1]);
  return EXIT_SUCCESS;
}