6 ms·
For something having 2024 in its name I expected a more consistent error handling, but guess what: * some functions like fsRenderCreate return 0 or 1 depending
by affenape 1y ago
For something having 2024 in its name I expected a more consistent error handling, but guess what:
* some functions like fsRenderCreate return 0 or 1 depending on the operation result;
* some like fsMapViewCreate say that a value less than 0 is returned on error;
* fsIOOpen says you should also consult with the fsIOGetLastError function on failure.
Hope somebody considers adding the errno.