IBM® Carrier Grade Server X3650 T
Revision 3.0
85
17.2.3.4 Errors
If any of the following conditions occur, the syscon_log_notify_add() function shall return the
corresponding error number:
• [EINVAL]: The query argument is not NULL and does not point to a valid query object.
• [EINVAL]: The notification argument does not point to a valid sigevent object.
• [EAGAIN]: The process already has {SYSCONLOG_NOTIFY_MAX} notification requests
registered.
• [ENOTSUP]: The query object’s purpose code does not include the
{SYSCONLOG_PRPS_NOTIFY} flag.
• [ENOTSUP]: Both SYSCONLOG_SEND_RECID and SYSCONLOG_SEND_SIGVAL are set in
the flags argument, but the implementation cannot deliver both these values to the indicated
notification-handling function.
For each of the following conditions, if the condition is detected, the syscon_log_notify_add() function
shall return the corresponding error number:
• [EPERM]: The process does not have the appropriate implementation-defined privilege to receive
notification of the indicated class of events.
• If any of the following conditions occur, the syscon_log_siginfo_recid() function shall return the
corresponding error number:
• [EINVAL]: The info argument is NULL, or the recid argument is NULL.
• If any of the following conditions occur, the syscon_log_sigval_recid() function shall return the
corresponding error number:
• [EINVAL]: The recid argument is NULL.
• If any of the following conditions occur, the syscon_log_notify_get() function shall return the
corresponding error number:
• [EINVAL]: The nfyhandle argument is not a handle for a valid notification request.
• [EINVAL]: The notification argument is NULL, or the once_only argument is NULL, or the
disabled argument is NULL.
• [EMSGSIZE]: The qsbuf argument is NULL, or the buffer length (as specified by the qslen
argument) is insufficient to hold the returned character string.
17.2.3.5 Cross-References
Signal Generation and Delivery, Signal Actions, mq_notify(), Thread Creation,
syscon_log_query_create()