about summary refs log tree commit diff
path: root/src/unistd/ttyname.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-06-29 11:54:03 -0400
committerRich Felker <dalias@aerifal.cx>2016-06-29 11:54:03 -0400
commitb3bbc7b16067c82e528d3de580f807b8316f096e (patch)
treea9670871f758888406a3f8c321631b51be230bfb /src/unistd/ttyname.c
parent4da0bc5ef8e0fdea65335599d947d74b7b321daa (diff)
downloadmusl-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