[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] How to catch an error?
- Subject: [ale] How to catch an error?
- From: baoh at linuxwizardry.com (Bao Ha)
- Date: Mon, 19 Feb 2001 16:12:52 -0500
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.