Utility to kill a program after n seconds

Άγγελος Οικονομόπουλος aoiko at cc.ece.ntua.gr
Mon Sep 2 00:28:01 EEST 2002


On Sunday 01 September 2002 21:57, V13 wrote:
> On Sunday 01 September 2002 16:58, Άγγελος Οικονομόπουλος wrote:
> > +		if(execvp ( argv[2], argv+3)==-1){

duh...

>
> kanto: execvp(argv[2], &(argv[2]))
>
> thelei 2 kai oxi 3 giati to proto poy pernas einai to argv[0] (to onoma
> diladi) toy programmatos kai oxi h proti parametros.
>
> <<V13>>

-- 
Use the fundamental control flow constructs.
            - The Elements of Programming Style (Kernighan & Plaugher)




More information about the Linux-greek-users mailing list