Re: lug-bg: "C" wapros
- Subject: Re: lug-bg: "C" wapros
- From: luben@xxxxxxxxxxxxx (luben karavelov)
- Date: Thu, 18 May 2000 00:34:47 +0300
Valery Dachev wrote:
>
> On Tue, 16 May 2000, luben karavelov wrote:
>
> > Georgi Chorbadzhiyski wrote:
> > >
> > > Ako mozhe niakoi po svetnat da pomogne. Imam slednata programa
> > > ...
> > script. Na purvia red directivata !/bin/sh e directiva kym shell-a,
> > akavto niamash, kogato izpulniavash exec().
>
> Na dali towa e prichinata da dade EFAULT ("Bad address").
>
ami ako i ti se opitash da ispulnish #!/bin/sh ... kato
mashinen kod,
mnogo veroyatno i ti shte otidesh niakade kadeto ne ti e
miastoto, t.e.
na "Bad address".
> "Bad address" znachi si podal kofti ukazatel - kato NULL w sluchaq
ami celta na NULL vyv funkciite exec() e druga - tova znachi
krai na
parametrite, taka che si e na miasto, toi niama nishto
obshto s addressa.
Za podrobnost - info libc
Luben
==================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
Otpiswaneto RABOTI !!! : Majordomo@xxxxxxxxxxxxxxxxxx UNSUBSCRIBE LUG-BG
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|