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]

Two easy questions


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".


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