diff options
author | rsc <devnull@localhost> | 2006-06-25 21:23:39 +0000 |
---|---|---|
committer | rsc <devnull@localhost> | 2006-06-25 21:23:39 +0000 |
commit | 57a2289bc9a9427e12a5e8101591ae8f49fc87bc (patch) | |
tree | 65d96703d50cf256496d87bddaa7b50cfd61363a /man/man3/drawfcall.3 | |
parent | fdcd298270b54de80852cce7668357107bc0ddb9 (diff) | |
download | plan9port-57a2289bc9a9427e12a5e8101591ae8f49fc87bc.tar.gz plan9port-57a2289bc9a9427e12a5e8101591ae8f49fc87bc.tar.bz2 plan9port-57a2289bc9a9427e12a5e8101591ae8f49fc87bc.zip |
just what we need - more rpcs
Diffstat (limited to 'man/man3/drawfcall.3')
-rw-r--r-- | man/man3/drawfcall.3 | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/man/man3/drawfcall.3 b/man/man3/drawfcall.3 new file mode 100644 index 00000000..c22fe747 --- /dev/null +++ b/man/man3/drawfcall.3 @@ -0,0 +1,53 @@ +.TH DRAWFCALL +.SH NAME +convM2W, convW2M, drawfcallfmt, readwsysmsg, sizeW2M \- window system protocol +.SH SYNOPSIS +.nf +.PP +.ft L +#include <u.h> +#include <libc.h> +#include <draw.h> +#include <mouse.h> +#include <cursor.h> +#include <drawfcall.h> +.ft P +.ta \w'\fLuint 'u +.PP +.B +uint convM2W(uchar *ap, uint nap, Wsysmsg *w) +.PP +.B +uint convW2M(Wsysmsg *w, uchar *ap, uint nap) +.PP +.B +int drawfcallfmt(Fmt*) +.PP +.B +int readwsysmsg(int fd, uchar *buf, uint nbuf) +.PP +.B +uint sizeW2M(Wsysmsg *w) +.SH DESCRIPTION +These routines are analogues of the routines described in +.IR fcall (3). +They manipulate graphics device protocol messages +rather than 9P protocol messages. +The graphics device protocol is used for internal +communication between the +.IR devdraw (1) +graphics server +and the +.IR draw (3) +library. +A +.B Wsysmsg +is the C structure corresponding to a protocol message. +.PP +The protocol is intentionally undocumented and may change. +.SH SOURCE +.B \*9/src/libdraw/drawfcall.c +.SH SEE ALSO +.IR devdraw (1), +.IR draw (3), +.IR graphics (3) |