XOpenDisplay(3X11) | XLIB FUNCTIONS | XOpenDisplay(3X11) |
̾??¶
XOpenDisplay, XCloseDisplay - X ?????Фؤ???³????³?????Ǥ??Ԥʤ?
????¶
Display *XOpenDisplay(display_name)
char *display_name;
XCloseDisplay(display)
Display *display;
??????¶
- display
- X ?????Фؤ???³?????ꤹ?롣
- display_name
- ?ϡ??ɥ??????Υǥ????ץ쥤̾?????ꤹ?롣 ?????ϻ??Ѥ????ǥ????ץ쥤???̿??ɥᥤ?????????롣 POSIX ?????Υ????ƥ??Ǥϡ?display_name ?? NULL ?ξ????ˤ? DISPLAY ?Ķ??ѿ????ͤ??Ȥ????롣
????¶
?ؿ? XOpenDisplay ?? Display ??¤?Τ??֤??????ι?¤?Τ? X ?????Фؤ???³??Ϳ???? ?ޤ????? X ?????? ?˴ؤ??????Ƥξ????????äƤ??롣 XOpenDisplay ?? TCP, DECnet ?̿??ץ??ȥ??롢?ޤ??ϥ????????Υץ????????̿??ץ??ȥ? ?????Ȥäƥ??ץꥱ?????????? X ?????Ф???³???롣 hostname ???ۥ??ȤΥޥ???̾?ǡ?1?ĤΥ?????(:)???ۥ???̾?ȥǥ????ץ쥤 ?ֹ??????ڤäƤ??????硢 XOpenDisplay ?? TCP ???ȥ?????Ȥä???³???Ԥ??? hostname ?????ꤵ???Ƥ??ʤ????硢Xlib ?ϺǤ??̿???®???Ȼפ????????Τ? ???Ѥ??롣 hostname ???ۥ??ȤΥޥ???̾?ǡ?2?ĤΥ?????(::)???ۥ???̾?ȥǥ????ץ쥤 ?ֹ??????ڤäƤ??????硢 XOpenDisplay ?? DECnet ???Ȥä???³???Ԥ??? ñ?Ȥ? X ?????Ф???????????ž???????Τɤ줫???뤤?????Ƥ?Ʊ???˥??ݡ? ?Ȥ??Ƥ??뤳?Ȥ????롣 ?????? Xlib ?μ????Ǥϡ????????ʳ????̿??????ݡ??Ȥ??Ƥ??뤳?Ȥ⤢ ?롣
?????????????ˤ? XOpenDisplay ?? Display ??¤?ΤؤΥݥ????֤??????ι?¤?Τ? <X11/Xlib.h> ???????????Ƥ??롣 ???Ԥ????????ˤϡ? XOpenDisplay ?? NULL ???֤??? XOpenDisplay ?θƤӽФ??????????????ϡ????饤?????ȤϤ??Υǥ????ץ쥤?????ƤΥ???? ?????Ȥ????Ȥ??Ǥ??롣 ?????? display_name ?ǻ??ꤷ??????????ο??? ?ޥ??? DefaultScreen (???뤤?ϴؿ? XDefaultScreen )???֤????롣 Display ?????? Screen ??¤?Τ????Ǥϡ????ѤΥޥ??????ؿ????Ȥä??????????????????????????롣 Display ??¤?Τξ??????????????ޥ????ȴؿ??λ??ѤˤĤ??Ƥϡ?2.2.1 ???Ȥ??? ???ȡ?
XCloseDisplay ?ؿ??? Display ??¤?Τǻ??ꤷ???ǥ????ץ쥤?? X ?????Фؤ???³???Ĥ??????ƤΥ??????? ?????????ID( (Window, Font, Pixmap, Colormap, Cursor, GContext )?????饤?????Ȥ????Υǥ????ץ쥤???˺???????¾?Υ???????˴????롣 ??????????????ν?λ?⡼?ɤ??ѹ??????Ƥ??????硢????????˴??????? ??( XSetCloseDownMode ??)?? ???????äơ????????Υ??????ɥ????????ID, ????¾?Υ?????Ϥդ????? ???Ȥ??ƤϤʤ??ʤ??????Ȥ????????ˤϥ??顼?Ȥʤ롣 ?ץ???????????λ???????ˤϡ? XCloseDisplay ??????Ū?˸Ƥ֤٤??Ǥ??롣 ?????ϡ? XCloseDisplay ???Ǹ??? XSync ???????Ԥʤ????Ȥˤ??ꡢ?ڥ??ǥ??????Ƥ??륨?顼?????????Τ????뤫 ???Ǥ??롣
XCloseDisplay ?ϥ??顼 BadGC ???????Ȥ????롣
??Ϣ????¶
AllPlanes(3X11), XFlush(3X11), XSetCloseDownMode(3X11)
Xlib - C Language X Interface
Release 6.5 | X Version 11 |