Ticket #1707: test_system.c

File test_system.c, 162 bytes (added by korli, 12 years ago)

test app

Line 
1#include <errno.h>
2#include <stdio.h>
3#include <unistd.h>
4
5int main()
6{
7 int err = system("/bin/sleep 4");
8 printf("return code %ld errno %ld\n", err, errno);
9}
10