5 | | Also tried to dump `stdout` (which is a `FILE *`) using a BAlert, but it always has an ex value/address, regardless of context (and the address changes at each invokation for that matter). Dunno if it's normal that `FILE * stdout` is "valid" in both contexts, in the 'raw' C++ code, but when said C++ code invokes `system()` to call a command, said command no longer has an stdout.. Maybe the standard lib's FILE * is just a wrapper around something else anyway. |
| 5 | Also tried to dump `stdout` (which is a `FILE *`) using a BAlert, but [it's never NULL], it always has an hex value/address, regardless of context (and the address changes at each invokation for that matter). Dunno if it's normal that `FILE * stdout` is "valid" in both contexts, in the 'raw' C++ code, yet when said C++ code invokes `system()` to call a command, said command no longer has an stdout.. Maybe the standard lib's FILE * is just a wrapper around something else anyway. |