1/** 2 * \file 3 * \brief arguments test. 4 */ 5 6/* 7 * Copyright (c) 2014, HP Labs. 8 * All rights reserved. 9 * 10 * This file is distributed under the terms in the attached LICENSE file. 11 * If you do not find this file, copies can be found by writing to: 12 * ETH Zurich D-INFK, Universitaetstr. 6, CH-8092 Zurich. Attn: Systems Group. 13 */ 14 15#include <stdio.h> 16 17int main(int argc, char *argv[]) 18{ 19 for (int i = 0; i < argc; i++) { 20 printf("argv[%d] = %s\n", i, argv[i]); 21 } 22 return 0; 23} 24