309 karma · joined September 23, 2011
typedef void ( * fptr_t)()
and cast to fptr_t instead of void * But it's bigger problem how to force users to cast it back to proper prototype, because casting it back to something else will give UB.
Here is what they think:
"This is truly an ironic situation. We have been fighting for a free world, and our opponents are mostly huge corporations from the United States of America, a place where freedom and freedom of speech is said to be held high. At the same time, companies from that country is chasing a competitor from other countries, bribing police and lawmakers, threatening political parties and physically hunting people from our crew. And to our help comes a government famous in our part of the world for locking people up for their thoughts and forbidding access to information."
Is this false?
http://en.wikipedia.org/wiki/Operation_Gladio
Please read carefully, this is gold mine for all interested in work of US/UK puppet masters. Also it has nothing to do with communism and other ideologies, it has to do with destabilize EU over decades and even now.
Search for libfcgi. It's nice and simple C library that can be used behind nginx and as the matter of fact anything that supports fcgi. In this case routes are defined on nginx. But just think a bit, it's nice little framework ;-)
Btw used exactly that few months ago.
The thing about C is that programmer should do check size before calling function with double arr[n]. Isn't that point of C? On the other hand, user can make fast stack allocation which, depending on situation, can be good. Stack is insecure by default, OS should put it really far from other parts. In embedded systems, well there you must always think about these kind of things.
Btw, how are (p)thread stacks implemented? Every thread has it's own stack, that's ein interesting situation.
Btw using Slackware on one server in production and i must admit that small specific systems are perfect match for Slackware (VoIP, routers, ...). And ofc non-production systems (laptops, testing and development environments, etc).