WRAP(2) — System Interface Manual — System Calls
NAME
wrap − wrap a descriptor with a protocol interpreter
SYNOPSIS
new = wrap(old, proto)
int new, old;
struct dprop ∗proto;
DESCRIPTION
Wrap allows a user process to build descriptors of a specified type by wrapping aa communictions channel with a system supplied protocol translator, proto. Operations on the descriptor old are then translated by the system provided protocol translator into requests on the underlying object old in a way defined by the protocol.
NOTES
SEE ALSO
DIAGNOSTICS
BUGS
Sun System Release 0.3