![]() |
![]()
| ![]() |
![]()
NAMEchmake - creates a channel SYNOPSIS
DESCRIPTIONCreates a bidirectional channel. In case of success handles to the both sides of the channel will be returned in chv parameter. A channel is a synchronization primitive, not a container. It doesn't store any items. chv: Out parameter. Two handles to the opposite ends of the channel. RETURN VALUEIn case of success the function returns 0. In case of error it returns -1 and sets errno to one of the values below. ERRORS
EXAMPLE
SEE ALSOchdone(3) chmake_mem(3) choose(3) chrecv(3) chsend(3) hclose(3)
|