svcadm(1M)을 검색하려면 섹션에서 1M 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
postwait_genkey(3c)
Standard C Library Functions postwait_genkey(3C)
NAME
postwait_genkey - Generate a post-wait key.
SYNOPSIS
#include <port.h>
int postwait_genkey(postwkey_t *key);
DESCRIPTION
The postwait_genkey() function returns a statistically unique key of
type postwkey_t in the key argument every time it is called. This is to
be used in the post-wait mechanism provided by the functions post‐
wait_post(3C), and postwait_postn(3C) to post and event ports to wait.
For more information, see port_associate(3C).
RETURN VALUES
Upon successful completion, postwait_genkey() returns 0 and the key in
the key argument. Otherwise, it returns -1 and sets errno to indicate
the error.
ERRORS
EINTR A signal was caught while reading /dev/urandom. For more
information, see random(4D).
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 _ Interface StabilityCommitted _ MT-LevelSafe, Async-Sig‐
nal-Safe
SEE ALSO
port_associate(3C), postwait_post(3C), postwait_postn(3C)
Oracle Solaris 11.4 11 June 2013 postwait_genkey(3C)