talloc Kernel Service

Purpose

Allocates a timer request block before starting a timer request.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/timer.h>
struct trb *talloc()

Description

The talloc kernel service allocates a timer request block. The user must call it before starting a timer request with the tstart kernel service. If successful, the talloc service returns a pointer to a pinned timer request block.

Execution Environment

The talloc kernel service can be called from the process environment only.

Return Values

The talloc service returns a pointer to a timer request block upon successful allocation of a trb structure. Upon failure, a null value is returned.