npauerk Posted June 19, 2002 Share 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. Link to comment Share on other sites More sharing options...
Subject452 Posted June 19, 2002 Share Posted June 19, 2002 ui_syscalls.c? Link to comment Share on other sites More sharing options...
npauerk Posted June 19, 2002 Author Share 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? Link to comment Share on other sites More sharing options...
asdfasdldkc Posted June 19, 2002 Share Posted June 19, 2002 learn c++ first and you'll know ;-p it's a function pointer. Link to comment Share on other sites More sharing options...
npauerk Posted June 20, 2002 Author Share Posted June 20, 2002 Thank you asdfasdldkc. I know C++, but function pointers are new to me. Link to comment Share on other sites More sharing options...
InfErnO Posted June 23, 2002 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.