diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-06-29 11:54:03 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-06-29 11:54:03 -0400 |
commit | b3bbc7b16067c82e528d3de580f807b8316f096e (patch) | |
tree | a9670871f758888406a3f8c321631b51be230bfb /src/unistd/ttyname.c | |
parent | 4da0bc5ef8e0fdea65335599d947d74b7b321daa (diff) | |
download | musl-b3bbc7b16067c82e528d3de580f807b8316f096e.tar.gz musl-b3bbc7b16067c82e528d3de580f807b8316f096e.tar.xz musl-b3bbc7b16067c82e528d3de580f807b8316f096e.zip |
fix incorrect definition of RUSAGE_CHILDREN in sys/resource.h
the kernel ABI value for RUSAGE_CHILDREN is -1, not 1. the latter is actually interpreted as RUSAGE_THREAD, to obtain values for just the calling thread and not the whole process.
Diffstat (limited to 'src/unistd/ttyname.c')
0 files changed, 0 insertions, 0 deletions