This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Two easy questions
- To: gnu-win32 at cygnus dot com
- Subject: Two easy questions
- From: Tage Westlund <tage dot westlund at stockholm dot mail dot telia dot com>
- Date: Sun, 05 Oct 1997 23:32:01 +0000
- Organization: G-LOGIKMETODER
- Reply-To: tage dot westlund at stockholm dot mail dot telia dot com
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".