Can Unix sleep in terms of mili/micro?

Tony Li tli at phakt.usc.edu
Mon Sep 10 16:43:42 AEST 1990


In article <24437 at adm.BRL.MIL> TAYBENGH%NUSDISCS.BITNET at cunyvm.cuny.edu writes:
    
            Can Unix sleep in terms of mili or mirco second? I am aware that
    sleep() can only sleep in terms of second. Please specify the Unix Dialect
    when u reply. Thanks.
    
BSD derived systems provide usleep(3) which does what you want.  

-- 
Tony Li - USC Computer Science Department
Internet: tli at usc.edu Uucp: usc!tli
Thus spake the master programmer: "A well written program is its own
heaven; a poorly-written program its own hell."



More information about the Comp.unix.internals mailing list