12 Sep
2017
12 Sep
'17
3:38 p.m.
On 12 September 2017 at 18:14, Peter Dimov via Boost
Something like that could probably work, but this is not the correct prototype. rand_s returns errno_t. If you try
The code I showed compiles and works, it won't allow you to get the error-code, though... So it should (because you are right) be (if one is interested in an error code): extern "C" int rand_s ( unsigned int* ); degski -- "*Ihre sogenannte Religion wirkt bloß wie ein Opiat reizend, betäubend, Schmerzen aus Schwäche stillend.*" - Novalis 1798