2 .\" Sun Microsystems, Inc. gratefully acknowledges The Open Group for
3 .\" permission to reproduce portions of its copyrighted documentation.
4 .\" Original documentation from The Open Group can be obtained online at
5 .\" http://www.opengroup.org/bookstore/.
7 .\" The Institute of Electrical and Electronics Engineers and The Open
8 .\" Group, have given us permission to reprint portions of their
11 .\" In the following statement, the phrase ``this text'' refers to portions
12 .\" of the system documentation.
14 .\" Portions of this text are reprinted and reproduced in electronic form
15 .\" in the SunOS Reference Manual, from IEEE Std 1003.1, 2004 Edition,
16 .\" Standard for Information Technology -- Portable Operating System
17 .\" Interface (POSIX), The Open Group Base Specifications Issue 6,
18 .\" Copyright (C) 2001-2004 by the Institute of Electrical and Electronics
19 .\" Engineers, Inc and The Open Group. In the event of any discrepancy
20 .\" between these versions and the original IEEE and The Open Group
21 .\" Standard, the original IEEE and The Open Group Standard is the referee
22 .\" document. The original Standard can be obtained online at
23 .\" http://www.opengroup.org/unix/online.html.
25 .\" This notice shall appear on any product containing this material.
27 .\" The Berkeley software License Agreement specifies the terms and conditions
28 .\" for redistribution.
31 .\" Copyright (c) 1980 Regents of the University of California.
32 .\" All rights reserved.
33 .\" Portions Copyright (c) 1992, X/Open Company Limited All Rights Reserved.
34 .\" Copyright (c) 2008, Sun Microsystems, Inc. All Rights Reserved.
35 .\" Copyright 2014 Garrett D'Amore <garrett@damore.org>
42 .Nd suspend execution for interval in microseconds
46 .Fn usleep "useconds_t useconds"
50 function suspends the caller from execution for the number
51 of microseconds specified by the
54 The actual suspension time might be less than requested because any caught
57 following execution of that signal's catching routine.
58 The suspension time might be longer than requested by an arbitrary amount
59 because of the scheduling of other activity in the system.
63 is 0, then the call has no effect.
67 function has no effect on the action or blockage
69 In a multithreaded process, only the invoking thread is suspended from
75 There are no error returns.
77 No errors are returned.
81 function is included for its historical usage and is Obsolete.
84 function is preferred over this function.
85 .Sh INTERFACE STABILITY
86 .Sy Obsolete Standard .
97 function is available in the following compilation environments.
110 It is marked obsolete in
111 .St -susv3 , and was removed from