Lines Matching refs:size
97 ** buffer size
104 int read3_2 ( MESG * md, char *msgbuf, int size )
113 switch (read_fifo(md->readfd, msgbuf, size))
143 ** Get the size from the 3.2 HPI message
144 ** minus the size of the control data
146 ** Reset the message size.
148 size = stoh(msgbuf + HEAD_SIZE) - EXCESS_3_2_LEN;
149 memmove(msgbuf, msgbuf + HEAD_SIZE, size);
150 (void) htos(msgbuf + MESG_SIZE, size);
154 int write3_2 ( MESG * md, char * msgbuf, int size )
160 (void) memmove(tmpbuf + HEAD_SIZE, msgbuf, size);
161 (void) htos(tmpbuf + HEAD_SIZE, size + EXCESS_3_2_LEN);
166 rval = write_fifo(md->writefd, tmpbuf, size + EXCESS_3_2_LEN);