#include
#include
int main(void)
{
char *cmd = “/bin/echo”;
char *args[] = { cmd, “ECS150”, NULL};
int ret;
printf(“Hi!
”);
ret = execv(cmd, args);
printf(“Execv returned %d
”, ret);
return 0;
}
#include
#include
int main(void)
{
char *cmd = “/bin/echo”;
char *args[] = { cmd, “ECS150”, NULL};
int ret;
printf(“Hi!
”);
ret = execv(cmd, args);
printf(“Execv returned %d
”, ret);
return 0;
}
Only logged in customers who have purchased this product may leave a review.
Reviews
There are no reviews yet.