peri mkstemp
Michalis Kabrianis
kabrianis at hellug.gr
Sun Feb 7 22:38:20 EET 1999
On 07-Feb-99 Michalis Kabrianis wrote:
>
> Se strings to = den ginetai (se apli C) ap' oti kserw, ara prepei na
> xrisimopoiiseis to strcpy. P.x.
> strcpy(k,"/ergasia/temp/koukouXXXXXX");
>
> Akoma kalytera, apofeygeis kai to malloc me tin strdup:
> strdup(k,"/ergasia/temp/koukouXXXXXX");
Ooops, kai bebaia einai k=strdup("/ergasia/temp/koukouXXXXXX");
kai oxi opws blakwdws to egrapsa proigoumenws epirreasmenos apo tin strcpy.
Sorry.
Kai isxyei bebaia kai oti eipe o Ricudis gia tin malloc parapanw :-)
Michalis Kabrianis
kabrianis at hellug.gr
--
====================================================================
Gia boithia (h na diagrafhte) e-mail sto majordomo at hellug.gr
Ta archives tis listas einai sto http://lists.hellug.gr
prin steilete kapoia erothsh psakte mipos exei hdh apanththei.
Gia opoiodipote problima stilte e-mail ston owner-linux-greek-users
====================================================================
More information about the Linux-greek-users
mailing list