svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
dax_set_log_file(3dax)
dax_set_log_file(3DAX) DAX Library Functions dax_set_log_file(3DAX)
NAME
dax_set_log_file - set the logging options and file descriptor
SYNOPSIS
cc [ flag... ] file... -ldax [ library...]
#include <dax.h>
dax_status_t
dax_set_log_file(dax_context_t *ctx, uint64_t options, int fd);
DESCRIPTION
This function is similar to the dax_set_log() function, but writes mes‐
sages to the file descriptor fd.
Stops sending messages to syslog if dax_set_log() had been called, and
stops sending to the callback function if dax_set_log_callback() had
been called.
Continues to send messages enabled by DAX_LOG_OPTIONS to the target
defined by the DAX_LOG_OPTIONS and DAX_LOG_FD environment variables at
dax_thread_init() time.
The options parameter supports all the values supported by the
dax_set_log() function.
RETURN VALUES
DAX_SUCCESS Operation completed successfully
DAX_EINVAL Unrecognized flag in the options or fd < 0
DAX_ETHREAD The calling thread did not create 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
dax_set_log(3DAX), dax_set_log_callback(3DAX)
Oracle Solaris 11.4 03 Mar 2017 dax_set_log_file(3DAX)