181 * |
181 * |
182 * @param src the source stream |
182 * @param src the source stream |
183 * @param dest the destination stream |
183 * @param dest the destination stream |
184 * @param rfnc the read function |
184 * @param rfnc the read function |
185 * @param wfnc the write function |
185 * @param wfnc the write function |
186 * @param n the maximum number of bytes that shall be copied. |
|
187 * @return total number of bytes copied |
186 * @return total number of bytes copied |
188 */ |
187 */ |
189 #define cx_stream_copy(src, dest, rfnc, wfnc) \ |
188 #define cx_stream_copy(src, dest, rfnc, wfnc) \ |
190 cx_stream_ncopy(src, dest, rfnc, wfnc, SIZE_MAX) |
189 cx_stream_ncopy(src, dest, rfnc, wfnc, SIZE_MAX) |
191 |
190 |