Use constants from libc instead of magic numbers.

6 jobs for more-libc in 60 minutes and 44 seconds (queued for 1 second)
Status Name Job ID Coverage
  Build
passed build:linux #33778

00:00:28

passed build:linux:stable #33777

00:00:42

passed build:redox #33779

00:00:28

 
  Test
passed test:linux #33781

00:00:32

passed test:linux:stable #33780

00:00:50

failed test:redox #33782

01:00:00

 
Name Stage Failure
failed
test:redox Test The script exceeded the maximum execution time set for the job
kernel:INFO -- SIGNAL 11, CPU 1, PID ContextId(9)
kernel:INFO -- NAME initfs:bin/init
init: failed to switch stdio to 'display:1': No such device (os error 19)
ps2d: failed to open display: No such device (os error 19)
thread 'main' panicked at 'failed to open rand:: Os { code: 19, kind: Other, message: "No such device" }', library/std/src/sys/unix/rand.rs:237:44
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
redoxfs: not able to mount uuid b02a9ac9-be20-4b16-bff1-237fe099dbe3
init: failed to cd to 'file:': No such device (os error 19)
init: failed to run.d: '/etc/init.d': No such file or directory (os error 2)
ERROR: Job failed: execution took longer than 1h0m0s seconds