2 ms·
So you would call thirdparty_process("whatever", &res); then assert that res == 1? On little endian architectures, it is 1. On big endian architectures, it's
by ksherlock 7y ago
So you would call thirdparty_process("whatever", &res); then assert that res == 1? On little endian architectures, it is 1. On big endian architectures, it's 0 which seems like a reasonable value as well.
- sesuximo 7y agodepends on context, but you could either assert a range of possible values or assert not dead