Scroll to navigation

XStoreBytes(3X11) XLIB FUNCTIONS XStoreBytes(3X11)

̾??

XStoreBytes, XStoreBuffer, XFetchBytes, XFetchBuffer, XRotateBuffers - ???åȡ??????ɡ??ڡ??????ѥХåե????????

????

XStoreBytes(display, bytes, nbytes)
Display *display;
char *bytes;
int nbytes;

XStoreBuffer(display, bytes, nbytes, buffer)
Display *display;
char *bytes;
int nbytes;
int buffer;

char *XFetchBytes(display, nbytes_return)
Display *display;
int *nbytes_return;

char *XFetchBuffer(display, nbytes_return, buffer)
Display *display;
int *nbytes_return;
int buffer;

XRotateBuffers(display, rotate)
Display *display;
int rotate;

??????

?Х?????????Ǽ?????Хåե??????ꤹ?롣 ???뤤?ϡ???Ǽ???Ƥ????ǡ??????֤??????Хåե??????ꤹ?롣
?Х??????????ꤹ?롣 ??????ɬ?????? ASCII ?Ǥʤ??Ƥ??褤????NULL ?ǽ?????ɬ?פ??ʤ???
X ?????Фؤ???³?????ꤹ?롣
??Ǽ?????Х??ȿ??????ꤹ?롣
?Хåե????Υǡ????ΥХ??ȿ????֤????롣
???åȥХåե????????ơ??Ȥ??????̤????ꤹ?롣

????

?ǡ??????????? NULL ʸ???????äƤ??ɤ??????ǡ????? NULL ʸ???ǽ?????ɬ ?פ??ʤ??? ???åȥХåե??????Ƥϸ???Ǥ?դΥ??饤?????Ȥ??? XFetchBytes ???ƤӽФ????ȤǼ????Ф??롣

XStoreBytes ?ϥ??顼 BadAlloc ?򵯤??????Ȥ????롣

?????ʥХåե??????ꤵ?줿???硢???θƤӽФ??Ǥϲ??ⵯ?????ʤ??? ?ǡ??????????? NULL ʸ???????äƤ??ɤ??????ǡ????? NULL ʸ???ǽ?????ɬ ?פ??ʤ???

XStoreBuffer ?ϥ??顼 BadAlloc ?򵯤??????Ȥ????롣

?ؿ? XFetchBytes ?ϡ????åȥХåե????˥ǡ??????????С??????? nbytes_return ?ˤ??ΥХ??? ?????֤??? ?????Ǥʤ??????ϴؿ??? NULL ???֤???nbytes_return ?ˤ? 0 ?????ꤵ???롣 Ŭ?ڤ??̤Υ????꤬???????Ƥ??졢???Υݥ??󥿤??֤????롣 ???饤?????Ȥϥǡ??????Ȥ??????ä??塢 XFree ???Ƥ??ǥ??????????????ʤ????Фʤ??ʤ???

?ؿ? XFetchBuffer ?ϡ??Хåե????˥ǡ??????ʤ????????????ʥХåե??????ꤵ?줿?????ˤ? ?????? nbytes_return ?? 0 ???֤???

XFetchBuffer ?ϥ??顼 BadValue ?򵯤??????Ȥ????롣

?ؿ? XRotateBuffers ?ϥХåե????????ơ??Ȥ????롣?????ϥХåե? 0 ???Хåե? n ?Ȥ??? ?Хåե? 1 ?? n + 1 mod 8 ?ˤ????Ȥ??????ǹԤ????롣 ???Υ??åȥХåե????ֹ??դ??ϥǥ????ץ쥤?ˤĤ???????Ū?ʤ??ΤǤ??롣 8 ?ĤΥХåե??????????????????Ƥ??ʤ??????ˤϡ? XRotateBuffers ?ϥ??顼 BadMatch ?Ȥʤ뤳?Ȥ????դ??衣

XRotateBuffers ?ϥ??顼 BadMatch ?򵯤??????Ȥ????롣

?֤???

?׵ᤵ?줿?꥽?????䥵???Х??????γ??????Ƥ˥????Ф????Ԥ?????
?????? Atom ???ͤ????????????Ƥ??? Atom ???ؤ??Ƥ??ʤ???
?????????????????Ȥ????????????ϰϤ????äƤ??뤬?????Υꥯ?????Ȥ??׵᤹?? ¾?ξ?????Ŭ???Ǥ??ʤ??ä???
???ꤵ?줿???ͤˡ??ꥯ?????Ȥε????ϰϤ??ۤ??Ƥ??????Τ????롣?????????? ???????????ϰϤ????ꤵ???Ƥ??ʤ????С????????η????????????Ƥ??????Ƥ??? ?Ϥ????????롣???????Ȥ????????????Ƥ??????????Ϥ??Υ??顼?򵯤??????Ȥ? ???롣

??Ϣ????

XFree(3X11)
Xlib - C Language X Interface

Release 6.5 X Version 11