You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All functions in golang.org/x/sys/unix always return raw errno values,
which can be compared directly.
There are about 100-130 errors, and about 350 functions in unix package.
Listing them separately is hardly an option, so let's ignore all unix.E*
errors that come from all functions in unix package.
This functionality is made possible thanks to commit cd16050.
Add a small test case (we can't really add the whole x/sys/unix under
testdata, so use a stub implementation).
Fixes: #10
Co-Authored-by: polyfloyd <floyd@polyfloyd.net>
Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
0 commit comments