src/cx/utils.h

changeset 713
724e42ba6114
parent 674
dc514a5d42a5
child 759
475335643af4
equal deleted inserted replaced
712:cff828e156a9 713:724e42ba6114
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

mercurial