1CPG_ZCB_FREE(3) Corosync Cluster Engine Programmer's Manual CPG_ZCB_FREE(3)
2
3
4
6 cpg_zcb_free - Frees a zero copy buffer
7
9 #include <corosync/cpg.h>
10
11 int cpg_zcb_fre(cpg_handle_t handle, void *buffer);
12
14 The cpg_zcb_free function will free a zero copy buffer.
15
16
17 The argument handle describes the handle on which the buffer will be
18 allocated.
19
20 The argument buffer is the zero copy buffer to free.
21
22
24 This call returns the CS_OK value if successful, otherwise an error is
25 returned.
26
28 The errors are undocumented.
29
31 cpg_overview(3), cpg_initialize(3), cpg_finalize(3), cpg_fd_get(3),
32 cpg_dispatch(3), cpg_join(3), cpg_leave(3), cpg_mcast_joined(3),
33 cpg_membership_get(3) cpg_zcb_alloc(3) cpg_zcb_free(3)
34 cpg_zcb_mcast_joined(3) cpg_context_get(3) cpg_context_set(3)
35 cpg_local_get(3)
36
37
38 CS_ERR_TRY_AGAIN Resource temporarily unavailable
39
40 CS_ERR_INVALID_PARAM Invalid argument
41
42 CS_ERR_ACCESS Permission denied
43
44 CS_ERR_LIBRARY The connection failed
45
46 CS_ERR_INTERRUPT System call interrupted by a signal
47
48 CS_ERR_NOT_SUPPORTED The requested protocol/functionality not supported
49
50 CS_ERR_MESSAGE_ERROR Incorrect auth message received
51
52 CS_ERR_NO_MEMORY Not enough memory to complete the requested task
53
54
55
56corosync Man Page 2009-04-15 CPG_ZCB_FREE(3)