1: #include <X/mit-copyright.h> 2: 3: /* $Header: XStoreBytes.c,v 10.4 86/02/01 15:40:04 tony Rel $ */ 4: /* Copyright Massachusetts Institute of Technology 1985 */ 5: 6: #include "XlibInternal.h" 7: XStoreBytes (str, length) 8: 9: char *str; 10: int length; 11: { 12: register XReq *req; 13: register Display *dpy; 14: 15: GetReq(X_StoreBytes, 0); 16: req->param.s[0] = length; 17: req->func = 0; /* cut buffer number 0 */ 18: Data(dpy, str, length); 19: }