This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Two easy questions




On Sun, 5 Oct 1997 Bardley09@aol.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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]