[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, 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.

Implementation Specifics

The waitcfree kernel service is part of Base Operating System (BOS) Runtime.

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 Kernel Extensions and Device Support Programming Concepts.


[ Previous | Next | Contents | Home | Search ]