dax_int_create - initialize a comparison value
cc [ flag... ] file... -ldax [ library...] #include <dax.h> dax_status_t dax_int_create(dax_context_t *ctx, void *buf, size_t len, dax_int_t *val);
This function copies len bytes from buf to val and initializes val with the DAX_BYTES format and elem_width of len. Interprets the bytes in buf in big endian order. len may be 1 to 16 bytes. There is no alignment restriction on buf.
Operation completed successfully
Invalid argument, detected by libdax
The calling thread did not create ctx
This function is available as a convenience. Programmers are free to construct dax_int_t structures directly.
See attributes(5) for descriptions of the following attributes:
|