Last change
on this file since 303 was 2, checked in by Rick van der Zwet, 15 years ago |
Initial import of data of old repository ('data') worth keeping (e.g. tracking
means of URL access statistics)
|
File size:
226 bytes
|
Rev | Line | |
---|
[2] | 1 | /* file name: execUse.c */
|
---|
| 2 | #include <unistd.h>
|
---|
| 3 | int main () {
|
---|
| 4 | char * a[3];
|
---|
| 5 | a[0] = "dont care what you put here\0";
|
---|
| 6 | a[1] ="--all";
|
---|
| 7 | a[2] = "--time";
|
---|
| 8 | a[3] = 0;
|
---|
| 9 | execve("/usr/bin/who", a, 0);
|
---|
| 10 | return 1;
|
---|
| 11 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.