Query: esbbcall
OS: php
Section: 9f
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
esbbcall(9F) Kernel Functions for Drivers esbbcall(9F)NAMEesbbcall - call function when buffer is availableSYNOPSIS#include <sys/stream.h> bufcall_id_t esbbcall(uint_t pri, void (*func)(void *arg), void (arg));INTERFACE LEVELArchitecture independent level 1 (DDI/DKI).PARAMETERSpri Priority of allocation request (to be used by allocb(9F) function, called by esbbcall()) func Function to be called when buffer becomes available. arg Argument to func.DESCRIPTIONesbbcall(), like bufcall(9F), serves as a timeout(9F) call of indeterminate length. If esballoc(9F) is unable to allocate a message and data block header to go with its externally supplied data buffer, esbbcall() can be used to schedule the routine func, to be called with the argument arg when a buffer becomes available. func may be a routine that calls esballoc(9F) or it may be another kernel function.RETURN VALUESOn success, a bufcall IDis returned. On failure, 0 is returned. The value returned from a successful call should be saved for possible future use with unbufcall() should it become necessary to cancel the esbbcall() request (as at driver close time).CONTEXTesbbcall() can be called from user or interrupt context.SEE ALSOallocb(9F), bufcall(9F), esballoc(9F), timeout(9F), datab(9S), unbufcall(9F) Writing Device Drivers STREAMS Programming Guide SunOS 5.10 18 Feb 98 esbbcall(9F)
Related Man Pages |
---|
bufcall(9f) - osx |
bufcall(9f) - xfree86 |
bufcall(9f) - mojave |
bufcall(9f) - hpux |
bufcall(9f) - posix |
Similar Topics in the Unix Linux Community |
---|
buffer over flow detected |
difficult problem with function declaration |