View Full Version : syscall()
06-19-2002, 02:33 AM
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.
06-19-2002, 02:42 AM
06-19-2002, 03:04 AM
static int (QDECL *syscall)( int arg, ... ) = (int (QDECL *)( int, ...))-1;
I've never seen this syntax before. Can someone explain it to me?
06-19-2002, 06:07 AM
learn c++ first and you'll know ;-p
it's a function pointer.
06-19-2002, 10:59 PM
Thank you asdfasdldkc. I know C++, but function pointers are new to me.
06-23-2002, 03:48 PM
Umm, function pointers are fundamentals in C. If you know C++, you should know how they work.
Anyway pointers are causing headache most of the time anyway.
vBulletin®, Copyright ©2000-2015, Jelsoft Enterprises Ltd.