diff options
author | Rich Felker <dalias@aerifal.cx> | 2019-08-05 19:55:42 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-08-05 21:16:30 -0400 |
commit | f522de81ac88dddb58266c15bcfaa044c4065e19 (patch) | |
tree | 10897524ab4ccb86b729adaba8363df914b531c2 /src/unistd/nice.c | |
parent | 6818c31c9bc4bbad5357f1de14bedf781e5b349e (diff) | |
download | musl-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