gonzui


Format: Advanced Search

SearchGoogle itResults 1 - 1 of 1 for funcall:Malloc from tkernel_2/driver/tef_em1d/console/src/line_drv.c (0.00 seconds)
tkernel_2
driver/tef_em1d/console/src/line_drv.c - 5.3KB - 177 lines
143:         /* Initialize the serial line management information */
144:         LineInfo = (LINE_INFO *)Malloc(sizeof(LINE_INFO) * nPorts);
145:         if (! LineInfo) {nPorts = 0; return E_NOMEM;}
158: /* Allocate the receive buffer */ 159: li->in_buf = Malloc(li->in_bufsz = DEF_INBUFSZ); 160: if (li->in_buf == NULL) return E_NOMEM;