about summary refs log tree commit diff
path: root/src/unistd/nice.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2019-08-05 19:55:42 -0400
committerRich Felker <dalias@aerifal.cx>2019-08-05 21:16:30 -0400
commitf522de81ac88dddb58266c15bcfaa044c4065e19 (patch)
tree10897524ab4ccb86b729adaba8363df914b531c2 /src/unistd/nice.c
parent6818c31c9bc4bbad5357f1de14bedf781e5b349e (diff)
downloadmusl-f522de81ac88dddb58266c15bcfaa044c4065e19.tar.gz
musl-f522de81ac88dddb58266c15bcfaa044c4065e19.tar.xz
musl-f522de81ac88dddb58266c15bcfaa044c4065e19.zip
use setitimer function rather than syscall to implement alarm
otherwise alarm will break on 32-bit archs when time_t is changed to
64-bit. a second itimerval object is introduced for retrieving the old
value, since the setitimer function has restrict-qualified arguments.
Diffstat (limited to 'src/unistd/nice.c')
0 files changed, 0 insertions, 0 deletions