Subject: Re: sgetsave where is this defined?
To: John Maier <johnam@datastorm.com>
From: Curt Sampson <curt@portal.ca>
List: netbsd-users
Date: 04/23/1997 21:08:30
On Tue, 9 Jul 1996, John Maier wrote:
> So far so good. However in ftpd.c there is a function used by
> the name of sgetsave. I greped for it, in the ftpd directory, and
> could find no other definition of it. I looked in the man pages,
> nothing. I looked in some C books and could find no reference.
No, sgetsave() is in ftpd.c, starting at line 354. It allocates
an area of memory, copies the string it's passed to that area,
and then returns a pointer to that area.
cjs
Curt Sampson curt@portal.ca Info at http://www.portal.ca/
Internet Portal Services, Inc.
Vancouver, BC (604) 257-9400 De gustibus, aut bene aut nihil.