From: mlaks2000 AT yahoo DOT com (Mitchell Laks) Newsgroups: comp.os.msdos.djgpp Subject: newbie Q: meaning of __THROW in stdio.h? Date: 28 Jul 2002 11:48:24 -0700 Organization: http://groups.google.com/ Lines: 56 Message-ID: NNTP-Posting-Host: 162.83.182.28 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1027882104 12684 127.0.0.1 (28 Jul 2002 18:48:24 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: 28 Jul 2002 18:48:24 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi. I am teaching myself C and C++ and was looking up the prototype of a function in stdio.h and noticed that most of the functions had the following prototype: extern FILE *tmpfile (void) __THROW; extern int fcloseall (void) __THROW; extern FILE *fmemopen (void *__s, size_t __len, __const char *__modes) __THROW; *****what is this __THROW? ******** and in the following extern int vdprintf (int __fd, __const char *__restrict __fmt, _G_va_list __arg) __THROW __attribute__ ((__format__ (__printf__, 2, 0))); what is the __THROW __attribute__ ((__format__ (__printf__, 2, 0))); ?? i am reading about c and c++ and have not yet totally figured out exceptions. i have read about throw "overflow"; catch (const char * message) {cout<< "error : ! " << message <