Changes between Version 127 and Version 128 of library_stdio


Ignore:
Timestamp:
Oct 6, 2015, 12:30:36 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v127 v128  
    205205
    206206 === 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 threadthread. It writes the string to a fixed length buffer.
     207This 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.
    208208It uses the TTY_RX_IRQ interrupt, and the associated kernel buffer.
    209209Up 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.
     
    411411 === 2) void '''giet_fbf_alloc'''() ===
    412412This 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().
     413All theads in the same space as the calling thread can access concurrently the frame buffer, under the user responsibility.
     414This lock is released when the thread completes execution, after a giet_pthread_exit(), or a giet_pthread_kill().
    414415
    415416 === 3) void '''giet_fbf_cma_alloc'''()