🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.graphics.avs
Article #213

Re: Allocating memory fro strings

#213
From: Terry Myerson
Date: Thu, 15 Oct 1992 16:04
14 lines
760 bytes
the file browser string comes in as a char *browser

the output port needs to go out as a char **output

*output=strdup(browser)

-terry

ps you can name the variables whatever you want !!

Terry Myerson
International AVS Center
North Carolina Supercomputing Center
tvv@ncsc.org
Technical Details
Message-ID: <Bw67BL.379@doppler.ncsc.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!gatech!concert!doppler!ncsc.org!tvv
References: <1992Oct15.095550.28643@alf.uib.no>

Show Full Headers
Complete Article Headers
Newsgroups: comp.graphics.avs
Path: arc1-ca.pugleaf.net!sparky!uunet!ferkel.ucsb.edu!taco!gatech!concert!doppler!ncsc.org!tvv
From: tvv@ncsc.org (Terry Myerson)
Subject: Re: Allocating memory fro strings
Message-ID: <Bw67BL.379@doppler.ncsc.org>
Sender: news@doppler.ncsc.org
Nntp-Posting-Host: doppler
Reply-To: tvv@ncsc.org 
Organization: North Carolina Supercomputing Center
References:  <1992Oct15.095550.28643@alf.uib.no>
Date: Thu, 15 Oct 1992 16:04:33 GMT
Lines: 14