Make the win32 implementation of getrusage() return EINVAL if being
Magnus Hagander <magnus@hagander.net>
Make the win32 implementation of getrusage() return EINVAL if being asked for anything other than RUSAGE_SELF, since it's not supported. This is never called anywhere in the code today, but might be in the future. Not backpatching, since it's not called anywhere today.
Files
| Path | Change | +/− |
|---|---|---|
| src/port/getrusage.c | modified | +8 −1 |