svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
dax_copy(3dax)
dax_copy(3DAX) DAX Library Functions dax_copy(3DAX)
NAME
dax_copy - copy a memory range
SYNOPSIS
cc [ flag... ] file... -ldax [ library...]
#include <dax.h>
dax_result_t
dax_copy(dax_context_t *ctx, uint64_t flags,
void *src, void *dst, size_t count);
DESCRIPTION
This function copies the number of bytes specified in count from src to
dst. There is no alignment restriction on src, dst, or count. The
address ranges of the src and dst must not overlap.
Supported Flags
DAX_CACHE_DST Writes results to cache. If not specified, invalidates
the address range for dst in the cache, and writes the
result to the main memory. For more information, see
the dax_scan_value(3DAX) man page.
DAX_NOWAIT If the DAX command queue is full, returns without sub‐
mitting the command, instead of waiting to submit.
RETURN VALUES
Returns 0 in the dax_result_t count field and sets the dax_result_t
status field to one of the following values.
DAX_SUCCESS Operation completed successfully
DAX_EINVAL Invalid argument, detected by libdax
DAX_EADI ADI mismatch error for an input or output buffer
DAX_ETHREAD The calling thread did not create ctx
DAX_EBUSY DAX is busy and nowait was requested
DAX_EINTERNAL Unknown internal error. Caller must stop using ctx.
ATTRIBUTES
See attributes(7) for descriptions of the following attributes:
tab() box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
TRIBUTE VALUE _ Availabilitysystem/library _ Interface StabilityCommit‐
ted
SEE ALSO
libdax(3LIB), dax_adi(3DAX), dax_dtrace(3DAX)
Oracle Solaris 11.4 03 Mar 2017 dax_copy(3DAX)