Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ nap(2) — Amiga System V Release 4 Version 2.03

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sleep(2)



nap(2)                    SYSTEM CALLS                     nap(2)



NAME
     nap - suspends execution for a short interval

SYNOPSIS
     cc [flag ...] file ... -lx
     long nap (long period);

DESCRIPTION
     The current process is suspended from execution for at least
     the  number  of milliseconds specified by period, or until a
     signal is received.

DIAGNOSTICS
     On successful completion,  a  long  integer  indicating  the
     number  of  milliseconds actually slept is returned.  If the
     process received a signal while napping,  the  return  value
     will be -1, and errno will be set to EINTR.

SEE ALSO
     sleep(2)

NOTES
     This function is driven by the system clock, which  in  most
     cases has a granularity of tens of milliseconds.































             Last change: XENIX Compability Package             1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026