TIP: Click on subject to list as thread! ANSI
echo: aust_c_here
to: Rowan_Crowe
from: Frank Adam
date: 1996-05-25 18:43:04
subject: free()

G'Day Rowan_crowe,
 
-=> Quoting Rowan_crowe to Frank Adam <=-

 FA>  char *s = malloc(80);
 FA>  }

 Ro> Why not turn it around, instead the CALLING procedure does the malloc
 Ro> and  provides a pointer to the allocated memory. Your function 
That is only possible if the caller determines the size of the variable,
sometimes the function is the only one that knows how much it needs.

 Ro> Another way is to return a pointer to the allocated memory, 
 Ro> again the caller is responsible for freeing it.
 yes. 
 
 Ro> You need an ISP than can provide:
 Ro> a) Cheap access
 Ro> b) Reliable and fast data transfer

 Ro> Hate to tell you this, but ozemail doesn't do either of 
 Ro> those. 8-) I was a customer of theirs for a short period, 
I have to agree on 'a', but 'b' has been improved immensely, they do 
have the widest bandwidth to Europe and USA now.
Another good thing about them is, i've never ever got an engaged signal.

 Ro> then took my custom elsewhere. If you want some suggestions 
 Ro> for other ISPs netmail me . . .
Of course i'm interested in cheap :-)

I can't seem to get a netmail out to save my life on this BBS, 
maybe i'll call yours, or perhaps you could send me an email ?

                               
  L8r Frank (fadam{at}ozemail.com.au).
  
___ Blue Wave/DOS v2.21

--- Maximus 3.01
* Origin: The Software Parlour (3:635/544)
SEEN-BY: 50/99 620/243 623/630 632/349 635/503 544 727 711/401 409 410 413
SEEN-BY: 711/430 808 809 932 934 712/515 713/888 714/906 800/1
@PATH: 635/544 50/99 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.