(C) 1998 AROS - The Amiga Research OS


NAME

struct Task * FindTask (name)

LOCATION
In SysBase at offset 49

SYNOPSIS
STRPTR name

FUNCTION
Find a task with a given name or get the address of the current task. Finding the address of the current task is a very quick function call, but finding a special task is a very CPU intensive instruction. Note that generally a task may already be gone when this function returns.

INPUTS
name
Pointer to name or NULL for current task.

RESULT
Address of task structure found.

EXAMPLE

SEE ALSO

NOTES

BUGS

INTERNALS

HISTORY