Re: problems with char * return from a function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Ho!

--- On Mon, 6/16/08, Andrew Haley <aph@xxxxxxxxxx> wrote:


> That's a wrong answer: strcpy() copies the zero
> terminator as well.

Ah, you are right!
Thank you for reminding me :)

> The problem is probably with the declaration of a.
> 
> To Sundara: we need a *complete* program that shows this
> problem

Well, let's wait and see.

> Andrew.

Best regards,
Eus


      

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux