repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
move the debug folder to the top level
[AROS.git]
/
test
/
clib
/
argv0_test2.c
blob
c9aeb2dd56a68a4e2faa2a9420992ea2a8424ee7
1
/*
2
Copyright © 1995-2014, The AROS Development Team. All rights reserved.
3
$Id$
4
*/
5
6
#include <unistd.h>
7
8
#include
"test.h"
9
10
int
main
(
void
)
11
{
12
const char
*
cmd
=
"/clib/argv0_slave_nixc"
, *
arg1
=
"../clib/argv0_slave_nixc"
;
13
execl
(
cmd
,
cmd
,
arg1
,
NULL
);
14
15
return
FAIL
;
16
}