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

Technical Reference: Kernel and Subsystems, Volume 1

waitcfree Kernel Service

Purpose

Checks the availability of a free character buffer.

Syntax

#include <sys/types.h>
#include <sys/errno.h>
#include <sys/cblock.h>
#include <sys/sleep.h>

int waitcfree ( )

Description

The waitcfree kernel service is used to wait for a buffer which was allocated by a previous call to the pincf kernel service. If one is not available, the waitcfree kernel service waits until either a character buffer becomes available or a signal is received.

The waitcfree kernel service has no parameters.

Execution Environment

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

Return Values

EVENT_SUCC Indicates a successful operation.
EVENT_SIG Indicates that the wait was terminated by a signal.

Related Information

The pincf kernel service, putc kernel service, putcb kernel service, putcbp kernel service, putcf kernel service, putcfl kernel service, putcx kernel service.

I/O Kernel Services 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 ]