[ Bottom of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]

Technical Reference: Kernel and Subsystems, Volume 1

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.

Related Information

The tfree kernel service, tstart kernel service, tstop kernel service.

Timer and Time-of-Day Kernel Services and Using Fine Granularity Timer Services and Structures in AIX 5L Version 5.2 Kernel Extensions and Device Support Programming Concepts.

[ Top of Page | Previous Page | Next Page | Contents | Index | Library Home | Legal | Search ]