Blame glib/tests/test-spawn-echo.c
|
Packit |
ae235b |
/*
|
|
Packit |
ae235b |
* Copyright (C) 2011 Red Hat, Inc.
|
|
Packit |
ae235b |
*
|
|
Packit |
ae235b |
* This work is provided "as is"; redistribution and modification
|
|
Packit |
ae235b |
* in whole or in part, in any medium, physical or electronic is
|
|
Packit |
ae235b |
* permitted without restriction.
|
|
Packit |
ae235b |
*
|
|
Packit |
ae235b |
* This work is distributed in the hope that it will be useful,
|
|
Packit |
ae235b |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
Packit |
ae235b |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|
|
Packit |
ae235b |
*
|
|
Packit |
ae235b |
* In no event shall the authors or contributors be liable for any
|
|
Packit |
ae235b |
* direct, indirect, incidental, special, exemplary, or consequential
|
|
Packit |
ae235b |
* damages (including, but not limited to, procurement of substitute
|
|
Packit |
ae235b |
* goods or services; loss of use, data, or profits; or business
|
|
Packit |
ae235b |
* interruption) however caused and on any theory of liability, whether
|
|
Packit |
ae235b |
* in contract, strict liability, or tort (including negligence or
|
|
Packit |
ae235b |
* otherwise) arising in any way out of the use of this software, even
|
|
Packit |
ae235b |
* if advised of the possibility of such damage.
|
|
Packit |
ae235b |
*
|
|
Packit |
ae235b |
* Author: Colin Walters <walters@verbum.org>
|
|
Packit |
ae235b |
*/
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
#include "config.h"
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
#include "glib.h"
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
int
|
|
Packit |
ae235b |
main (int argc,
|
|
Packit |
ae235b |
char *argv[])
|
|
Packit |
ae235b |
{
|
|
Packit |
ae235b |
int i;
|
|
Packit |
ae235b |
for (i = 1; i < argc; i++)
|
|
Packit |
ae235b |
{
|
|
Packit |
ae235b |
g_print ("%s", argv[i]);
|
|
Packit |
ae235b |
}
|
|
Packit |
ae235b |
|
|
Packit |
ae235b |
return 0;
|
|
Packit |
ae235b |
}
|