Two easy questions

Tage Westlund tage.westlund@stockholm.mail.telia.com
Sun Oct 5 14:46:00 GMT 1997


Bardley09@aol.com wrote:
> 
> 1.  What is the best way to clear a character buffer (i.e. set it to
>     zero)?
> 2.  How does one get a list of all the functions in a particular
>     library?
> 
To Bardley!
1. 
   main(){
     char X[]="abcd"; printf("X:%s\n",X); X[0]='\0'; printf("X:%s\n",X);
   } 

2. bash$ cd /gnuwin32/b18/H-i386-cygwin32/i386-cygwin32/lib
   bash$ nm -s libcap.a
   - - - -
   bash$ nm -s cygwin.dll | grep _Winmain__FPv
   _Winmain__FPv

Tage

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



More information about the Cygwin mailing list