"code break" <pk*****@gmail.com> writes:
I came across some unexpected funtion definition as follows
int __cdel function_name(int arg1,int arg2)
{
statements ;
.
.
}
can any one tell me about the use of keyword __cdel in above function
defintion..
There is no __cdecl keyword in standard C. It's an extension
implemented by your compiler. (It probably specifies something about
the calling convention, something that the compiler should normally be
able to decide for itself.)
For more information, consult the documentation for your compiler.
Failing that, a Google search for "__cdecl" gets 157,000 hits.
Failing that, try a newsgroup appropriate to your compiler and/or
operating system.
--
Keith Thompson (The_Other_Keith)
ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.