[pso] test.c

Andrei Hagiescu pso@cursuri.cs.pub.ro
Sat, 27 Mar 2004 20:52:38 +0200


warning in fisierul de test:
apel cu 3 parametri...declaratie cu 2; unde e greseala :-?

return do_release(argv[2], atoi(argv[3]), atoi(argv[4]));


int do_release(const char *str, int status)
{
 test("%s release", str, vsyscall(MY_SYSCALL_NO, 3, REQUEST_SYSCALL_RELEASE,
get_syscall_no(str), 0) == status);
 return 0;
}