![]() |
![]()
| ![]() |
![]()
NAMEconvM2W, convW2M, drawfcallfmt, readwsysmsg, sizeW2M - window system protocol SYNOPSIS#include <u.h> #include <libc.h> #include <draw.h> #include <mouse.h> #include <cursor.h> #include <drawfcall.h> uint convM2W(uchar *ap, uint nap, Wsysmsg *w) uint convW2M(Wsysmsg *w, uchar *ap, uint nap) int drawfcallfmt(Fmt*) int readwsysmsg(int fd, uchar *buf, uint nbuf) uint sizeW2M(Wsysmsg *w) DESCRIPTIONThese routines are analogues of the routines described in They manipulate graphics device protocol messages rather than 9P protocol messages. The graphics device protocol is used for internal communication between the graphics server and the library. A Wsysmsg is the C structure corresponding to a protocol message. The protocol is intentionally undocumented and may change. SOURCE/src/libdraw/drawfcall.c SEE ALSO
|