Changes between Version 127 and Version 128 of library_stdio
- Timestamp:
- Oct 6, 2015, 12:30:36 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
library_stdio
v127 v128 205 205 206 206 === 5) void '''giet_tty_gets'''( char* buf, unsigned int bufsize ) === 207 This blocking function fetches a string from the private terminal that must have been allocated to the calling thread thread. It writes the string to a fixed length buffer.207 This blocking function fetches a string from the private terminal that must have been allocated to the calling thread. It writes the string to a fixed length buffer. 208 208 It uses the TTY_RX_IRQ interrupt, and the associated kernel buffer. 209 209 Up to (bufsize - 1) characters (including the non printable characters) are copied into buffer, and the string is completed by a NUL character. The <LF> character is interpreted, and the function close the string with a NUL character if <LF> is read. The <DEL> character is interpreted, and the corresponding character(s) are removed from the target buffer. It does not provide an echo. … … 411 411 === 2) void '''giet_fbf_alloc'''() === 412 412 This blocking function allows the calling thread to get exclusive ownership of the shared FBF peripheral. It returns only when the lock has been taken. 413 This lock is released when the thread completes execution, after a giet_pthread_exit(), or a get_pthread_kill(). 413 All theads in the same space as the calling thread can access concurrently the frame buffer, under the user responsibility. 414 This lock is released when the thread completes execution, after a giet_pthread_exit(), or a giet_pthread_kill(). 414 415 415 416 === 3) void '''giet_fbf_cma_alloc'''()