~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man3/usleep.3

  • Committer: Package Import Robot
  • Author(s): Loïc Minier
  • Date: 2011-10-17 13:06:22 UTC
  • mfrom: (1.1.46 upstream) (2.2.11 sid)
  • Revision ID: package-import@ubuntu.com-20111017130622-rbdw3julnma2baqu
Tags: 3.32-0.2ubuntu1
* Merge from Debian testing/unstable; remaining changes:
  - ptrace.2, prctl.2: document Ubuntu-specific PTRACE_ATTACH,
    PR_SET_PTRACER behavior.
* Keep Debian's glibc-doc version in the Replaces as it's satisfactory for
  upgrades from natty and lucid.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
.\" Modified 2001-04-01 by aeb
29
29
.\" Modified 2003-07-23 by aeb
30
30
.\"
31
 
.TH USLEEP 3  2010-09-20 "" "Linux Programmer's Manual"
 
31
.TH USLEEP 3  2010-12-03 "" "Linux Programmer's Manual"
32
32
.SH NAME
33
33
usleep \- suspend execution for microsecond intervals
34
34
.SH SYNOPSIS
52
52
.nf
53
53
_BSD_SOURCE ||
54
54
    (_XOPEN_SOURCE\ >=\ 500 ||
55
 
        _XOPEN_SOURCE && _XOPEN_SOURCE_EXTENDED) &&
 
55
        _XOPEN_SOURCE\ &&\ _XOPEN_SOURCE_EXTENDED) &&
56
56
    !(_POSIX_C_SOURCE\ >=\ 200809L || _XOPEN_SOURCE\ >=\ 700)
57
57
.TP 4
58
58
.fi
65
65
.SH DESCRIPTION
66
66
The
67
67
.BR usleep ()
68
 
function suspends execution of the calling process for
 
68
function suspends execution of the calling thread for
69
69
(at least) \fIusec\fP microseconds.
70
70
The sleep may be lengthened slightly
71
71
by any system activity or by the time spent processing the call or by the
142
142
.BR ualarm (3),
143
143
.BR time (7)
144
144
.SH COLOPHON
145
 
This page is part of release 3.27 of the Linux
 
145
This page is part of release 3.32 of the Linux
146
146
.I man-pages
147
147
project.
148
148
A description of the project,