• YAMAMOTO Takashi's avatar
    use nanosleep instead of usleep · ae828676
    YAMAMOTO Takashi authored
    SUSv3 says that:
    	The useconds argument shall be less than one million. If the value of
    	useconds is 0, then the call has no effect.
    and actually NetBSD's implementation rejects such a value with EINVAL.
    use nanosleep which has no such a limitation instead.
    ae828676
debug.c 33.2 KB