(root)/
glib-2.79.0/
glib/
tests/
test-spawn-echo.c
       1  /* 
       2   * Copyright (C) 2011 Red Hat, Inc.
       3   *
       4   * SPDX-License-Identifier: LicenseRef-old-glib-tests
       5   *
       6   * This work is provided "as is"; redistribution and modification
       7   * in whole or in part, in any medium, physical or electronic is
       8   * permitted without restriction.
       9   *
      10   * This work is distributed in the hope that it will be useful,
      11   * but WITHOUT ANY WARRANTY; without even the implied warranty of
      12   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      13   *
      14   * In no event shall the authors or contributors be liable for any
      15   * direct, indirect, incidental, special, exemplary, or consequential
      16   * damages (including, but not limited to, procurement of substitute
      17   * goods or services; loss of use, data, or profits; or business
      18   * interruption) however caused and on any theory of liability, whether
      19   * in contract, strict liability, or tort (including negligence or
      20   * otherwise) arising in any way out of the use of this software, even
      21   * if advised of the possibility of such damage.
      22   *
      23   * Author: Colin Walters <walters@verbum.org> 
      24   */
      25  
      26  #include "config.h"
      27  
      28  #include "glib.h"
      29  
      30  int
      31  main (int   argc,
      32        char *argv[])
      33  {
      34    int i;
      35    for (i = 1; i < argc; i++)
      36      {
      37        g_print ("%s", argv[i]);
      38      }
      39  
      40    return 0;
      41  }