js_connect() ?????ФȤδ֤˥??ͥ?????????ĥ?롣
#include "jslib.h"
struct wnn_env *
js_connect(server,env_name, timeout)
char *env_name; /* ?Ķ?̾ */
WNN_JSERVER_ID *server; /* ??????ID */
int timeout; /* ?????ॢ???Ȼ??? */
- ?????ФȤδ֤˥??ͥ?????????ĥ?ꡢƱ???˥????Ф??????˴Ķ??????롣
??????̾?ǡ?js_open
?Υ?????ͤΥ?????ID?????ꤹ?롣
??????̾?κ???ʸ?????ϡ?256ʸ???Ǥ??롣
timeout(??)?????ˡ??????Ф???³?Ǥ??ʤ??????ϡ???³?????Ǥ??۾ェλ???롣
?????ॢ???Ȥ??????Τ????ˡ?SIGALARM
?????Ѥ??Ƥ??롣 timeout ?? 0
?ޤ??ϡ????ξ????ϡ?SIGALARM
?????Ѥ??ʤ???
?Ķ?̾?˴???¸?ߤ????Ķ??????ꤷ?????ˤϤ??δĶ????֤???
NULL ?????ꤷ?????ˤϿ??????Ķ??????ä??֤???
?۾ェλ???ˤϡ?-1 ???֤???
- ?????ॢ???Ȥˤϡ?SIGALARM
?????Ѥ??Ƥ????Τǡ????դ?ɬ?פǤ??롣
SIGALARM ?????Ѥ????????ˤϡ?timeout ?? 0
?????ꤷ?ʤ????Фʤ??ʤ???