Linux-Bulgaria.ORG
навигация

 

начало

пощенски списък

архив на групата

семинари ...

документи

как да ...

 

 

Предишно писмо Следващо писмо Предишно по тема Следващо по тема По Дата По тема (thread)

Re: lug-bg: "C" wapros


  • Subject: Re: lug-bg: "C" wapros
  • From: valery@xxxxxxxxxxxxx (Valery Dachev)
  • Date: Thu, 18 May 2000 09:03:09 +0300 (EEST)



On Thu, 18 May 2000, luben karavelov wrote:

> 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".

Sega gluposti li shte si goworim ili kakwo ? Az ti obqsnqwam, che NQMA DA
IZGYRMI. Kak shte izgyrmi s EFAULT pri takawa greshka ?!

> > "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.

Da, ama kato ne mu podawash nikakyw masiw. Ako iskash da mu podadesh
prazen masiw ne podawash NULL, a podawash masiw ot char *, w kojto pyrwiqt
element e NULL !

Napylno sym syglasen s Tacho. Pocheti oshte malko.

> Za podrobnost - info libc

Za podrobnosti, RTFS !
                                                S uwavenie, Valery Dachev
.........................................................................
: User ID      : Valery Dachev <v.dachev@xxxxxxxx>                      :
: Homepage     : http://web.dir.bg/valery/                              :
: PGP Key ID   : 1024D/1C4C9712 (DSA)                                   :
: Fingerprint  : C451 0CC8 8EB4 655C D7C8  9D7F DCE9 C14E 1C4C 9712     :
:..............:........................................................:
: Organization : Bulgarian Linux Society : WWW : http://linux.home.bg/  :
:..............:.........................:.....:........................:

==================================================================
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



 

наши приятели

 

линукс за българи
http://linux-bg.org

FSA-BG
http://fsa-bg.org

OpenFest
http://openfest.org

FreeBSD BG
http://bg-freebsd.org

KDE-BG
http://kde.fsa-bg.org/

Gnome-BG
http://gnome.cult.bg/

проект OpenFMI
http://openfmi.net

NetField Forum
http://netField.ludost.net/forum/

 

 

Linux-Bulgaria.ORG

Mailing list messages are © Copyright their authors.