mirror of
https://github.com/FAUSheppy/colorredstderr-mirror
synced 2025-12-09 16:38:32 +01:00
tests/example.c: Use errno = ENOMEM.
The output from errno = 0 is less portable.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
>STDERR>write to stderr: 1
|
||||
<STDERR<write to stdout
|
||||
>STDERR>error!: Success
|
||||
>STDERR>error!: Cannot allocate memory
|
||||
<STDERR<>STDERR>write to stderr 2<STDERR<write to stdout 2>STDERR>
|
||||
<STDERR<
|
||||
>STDERR>more on stderr
|
||||
|
||||
Reference in New Issue
Block a user