[ale] How to catch an error?
Bao Ha
baoh at linuxwizardry.com
Mon Feb 19 16:12:52 EST 2001
Thanks man! It works on RH.
I am going to test it on the Coldfire.
Bao
> -----Original Message-----
> From: owner-ale at ale.org [mailto:owner-ale at ale.org]On Behalf Of Stephan
> Uphoff
> Sent: Monday, February 19, 2001 3:26 PM
> To: Bao Ha
> Cc: ale at ale.org; ups at tree.com
> Subject: Re: [ale] How to catch an error?
>
>
>
> Take a look at wait() and waitpid()
> (man 2 wait)
>
> >
> > I want to use execvp to execute a command, i.e. ping. How
> do I catch the
> > error return of "ping"?
> >
> > My mind seems to go blank today.
> >
> > Appreciate any comments/suggestions.
> > Bao
> >
> > --
> > To unsubscribe: mail majordomo at ale.org with "unsubscribe
> ale" in message body.
> >
>
>
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale"
> in message body.
>
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.
More information about the Ale
mailing list