̾??
usleep
—
?ץ??????μ¹Ԥ??ޥ??????ä?¬?ä????֤???????
Standard C Library (libc, -lc)
usleep
() ?ؿ??ϡ?
microseconds
?ޥ??????÷в᤹?뤫???ޤ??ϥץ???????
???椬???夷?Ƥ???ư???????????ǽ???ƤӽФ????ΤǤ??뤫?ޤ??ϥץ???????
??λ???????ΤǤ????ޤǡ??ƤӽФ??ץ??????μ¹Ԥ????Ǥ??ޤ????????ƥ???
??ư???֤ˤ??äƤϡ???????֤??Գ????λ??֤???Ĺ???ʤ??ޤ???
???δؿ??ϡ? microseconds
?ޥ??????ä??????ޤ??Ͽ??椬?????ޤǥݡ???
????
nanosleep(2)
???Ȥ??¹Ԥ????ޤ??????η??̡????Υ????ץ??????ơ???????
?Ǥϥ???פϥץ??????????ޤξ??֤ˤϱƶ???Ϳ??????
SIGALRM
?ˤĤ??????̤ʼ谷???ϹԤ??ޤ?????
The usleep
() function returns the
value 0 if successful; otherwise the value -1 is returned and
the global variable errno is set to indicate the
error.
usleep
()
?ؿ??ϡ????Τ褦?ʾ????ˤϼ??Ԥ??ޤ???
- [
EINTR
]
- ???椬?ץ??????????夷??????ư???Ͽ?????????ǽ???ƤӽФ????ΤǤ?????
usleep
() ?ؿ??ϡ?
4.3BSD ???о줷?ޤ?????