From: tage DOT westlund AT stockholm DOT mail DOT telia DOT com (Tage Westlund) Subject: Two easy questions 5 Oct 1997 15:03:24 -0700 Message-ID: <34382371.1848.cygnus.gnu-win32@stockholm.mail.telia.com> Reply-To: tage DOT westlund AT stockholm DOT mail DOT telia DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: gnu-win32 AT cygnus DOT com Bardley09 AT aol DOT 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 AT cygnus DOT com" with one line of text: "help".