Home
last modified time | relevance | path

Searched refs:pBuf (Results 1 – 1 of 1) sorted by relevance

/examples/libc/
A Dtermios_test.c289 unsigned char *pBuf = RT_NULL; in termios_test_entry() local
298 pBuf = (unsigned char *)rt_malloc(BUFFER_SIZE); in termios_test_entry()
299 RT_ASSERT(pBuf != RT_NULL); in termios_test_entry()
301 memset(pBuf, 0x00, BUFFER_SIZE); in termios_test_entry()
309 len = recv_comm(fd, pBuf, 10, RT_NULL); in termios_test_entry()
311 rt_kprintf("Recv:%s\n", pBuf); in termios_test_entry()
313 send_comm(fd, pBuf, len); in termios_test_entry()
318 rt_free(pBuf); in termios_test_entry()
319 pBuf = RT_NULL; in termios_test_entry()

Completed in 2 milliseconds