getopt in C lang