blob: 2b50ba749c831f4cc19615957783ad81515cafb8 (
plain) (
tree)
|
|
/*
Copyright 2022 Gabriel Jensen.
This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
If a copy of the MPL was not distributed with this file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#include <zap/priv.h>
#include <zap/mem.h>
void zap_memcat(void const * const _lptr,zap_sz const _llen,void const * const _rptr,zap_sz const _rlen,void * const _buf) {
zap_memcp(_lptr,_llen,_buf);
zap_memcp(_rptr,_rlen,(unsigned char *)_buf + _llen);
}
|