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
Check for SYS/GL during library init. Reason is that
[AROS.git]
/
test
/
clib
/
argv0_test3.c
blob
78f7e3462a67b22f54dffe5f410168c9da7ffaeb
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"
, *
arg1
=
"/clib/argv0_slave"
;
13
execl
(
cmd
,
cmd
,
arg1
,
NULL
);
14
15
return
FAIL
;
16
}