a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
 Static lib:
 amiga.lib
  ACrypt
  AddTOF
  ArgArrayDone
  ArgArrayInit
  ArgInt
  ArgString
  BeginIO
  CallHook
  CallHookA
  CheckRexxMsg
  CoerceMethod
  CoerceMethodA
  CreateExtIO
  CreatePort
  CreateStdIO
  CreateTask
  CxCustom
  CxDebug
  CxFilter
  CxSender
  CxSignal
  CxTranslate
  DeleteExtIO
  DeletePort
  DeleteStdIO
  DeleteTask
  DoMethod
  DoMethodA
  DoSuperMethod
  DoSuperMethodA
  FastRand
  FreeIEvents
  GetRexxVar
  HookEntry
  HotKey
  InvertString
  LibAllocPooled
  LibCreatePool
  LibDeletePool
  LibFreePooled
  NewList
  RangeRand
  RemTOF
  SetRexxVar
  SetSuperAttrs
  TimeDelay
  afp
  arnd
  dbf
  fpa
  printf
  sprintf
  stdio
Include
GuruMeditation
Docs » Autodocs » amiga.lib » TimeDelay

NAME

	TimeDelay -- Return after a period of time has elapsed.

SYNOPSIS

	Error = TimeDelay( Unit, Seconds, MicroSeconds )
D0 D0 D1 D2
LONG TimeDelay( LONG, ULONG, ULONG );

FUNCTION

	Waits for the period of time specified before returning to the
the caller.

INPUTS

	Unit -- timer.device unit to open for this command.
Seconds -- The seconds field of a timerequest is filled with
this value. Check the documentation for what a particular
timer.device unit expects there.
MicroSeconds -- The microseconds field of a timerequest is
filled with this value. Check the documentation for what
a particular timer.device units expects there.

RESULT

	Error -- will be zero if all went well; otherwise, non-zero.

NOTES

	Two likely reasons for failures are invalid unit numbers or
no more free signal bits for this task.
While this function first appears in V37 amiga.lib, it works
on Kickstart V33 and higher.

SEE ALSO

timer.device/TR_ADDREQUEST(), timer.device/TR_WAITUNTIL, timer.device/WaitUnitl

BUGS

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Anarchy

ANA
HZ
CSL
RSI

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se