I am not a Linux expert but as I can understand syscall( 10, argv[i] ); deletes the files passed as command line.