delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/10/05/11:25:30

From: garbanzo AT hooked DOT net (Alex)
Subject: Re: Two easy questions
5 Oct 1997 11:25:30 -0700 :
Message-ID: <Pine.BSF.3.96.971005110409.797A-100000.cygnus.gnu-win32@zippy.dyn.ml.org>
References: <971005073706_1343272954 AT emout18 DOT mail DOT aol DOT com>
Mime-Version: 1.0
To: gnu-win32 AT cygnus DOT com


On Sun, 5 Oct 1997 Bardley09 AT aol DOT com wrote:

> 1.  What is the best way to clear a character buffer (i.e. set it to zero)?

buff[0]=0L; or buff[0]=\0; should do the trick.  Byte strings can be
zero'd by bzero (buf,len).

> 2.  How does one get a list of all the functions in a particular library?

nm (I think) library.dll should do it.  Or you could run it through
strings and look through a lot of extra junk.

- alex

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019