LFS
BLFS
ALFS
Search:
Login
Preferences
Help/Guide
About Trac
Wiki
Timeline
Roadmap
Browse Source
View Tickets
Search
Context Navigation
Back to Ticket #2110
Ticket #2110
: testexec.c
File testexec.c,
233 bytes
(added by
djensen@…
,
18 years ago
)
Line
1
// gcc testexec.c -o testexec
2
3
#include <unistd.h>
4
#include <stdio.h>
5
6
int main( int argc, char *argv[] )
7
{
8
int retval;
9
retval = execl("./printargs", 0);
10
// retval = execl("./printargs", "./printargs", NULL);
11
return 0;
12
}
Download in other formats:
Original Format