npauerk Posted June 19, 2002 Posted June 19, 2002 Does anyone know where this function is defined? To the best of my knowledge, none of the C source files implement it, but several of them call it.
npauerk Posted June 19, 2002 Author Posted June 19, 2002 static int (QDECL *syscall)( int arg, ... ) = (int (QDECL *)( int, ...))-1; I've never seen this syntax before. Can someone explain it to me?
asdfasdldkc Posted June 19, 2002 Posted June 19, 2002 learn c++ first and you'll know ;-p it's a function pointer.
npauerk Posted June 20, 2002 Author Posted June 20, 2002 Thank you asdfasdldkc. I know C++, but function pointers are new to me.
InfErnO Posted June 23, 2002 Posted June 23, 2002 Umm, function pointers are fundamentals in C. If you know C++, you should know how they work. http://www.function-pointer.org/CCPP/FPT/em_fpt.html#chapter1 Anyway pointers are causing headache most of the time anyway.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.