ref: e51c4bc6e493a9cd0d9e9d7f1d24c57ae77bab65
dir: /sys/src/libauthsrv/_asrequest.c/
#include <u.h> #include <libc.h> #include <authsrv.h> int _asrequest(int fd, Ticketreq *tr) { char trbuf[TICKREQLEN]; int n; n = convTR2M(tr, trbuf, sizeof(trbuf)); if(write(fd, trbuf, n) != n) return -1; return 0; }