ku1ik / stderred

stderr in red
MIT License
996 stars 115 forks source link

Fix #82 #83

Closed chrisjbillington closed 3 years ago

chrisjbillington commented 3 years ago

Use correct argument and return types for __write_nocancel on Linux, as read from glibc source here:

https://github.com/bminor/glibc/blob/master/sysdeps/unix/sysv/linux/write_nocancel.c

Fixes issue #82. Tested on Linux.

chrisjbillington commented 3 years ago

Was fixed by @cehoffman in b2238f7 by using more generic types, avoiding the extra #defines.