monitor.c: Use ld*_p() instead of ld*_raw()