postwait_genkey(3c) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

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)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3