Changes between Version 18 and Version 19 of library_stdio


Ignore:
Timestamp:
Oct 25, 2014, 2:38:27 PM (10 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v18 v19  
    4646 == __3) TTY related system calls__ ==
    4747
    48   === unsigned int '''giet_tty_printf'''( char* format, ... ) ===
     48  === void '''giet_tty_printf'''( char* format, ... ) ===
    4949This function print formated text on a private terminal that must have been allocated to the calling task in the mapping (''use_tty'' argument). Therefore,  it does not take the TTY lock.
    5050Only a limited number of formats are supported:
     
    5858Exit in case of illegal format.
    5959
    60  === unsigned int '''giet_shr_printf'''( char* format, ... ) ===
     60 === void '''giet_shr_printf'''( char* format, ... ) ===
    6161This function print formated text on the shared terminal arbitrarily allocated by the kernel. It takes the TTY lock
    6262for exclusive access. It supports the same formats as the giet_tty_printf() function.
     
    6464Exit in case of illegal format.
    6565
    66  === unsigned int '''giet_tty_getc'''( char* byte ) ===
     66 === void '''giet_tty_getc'''( char* byte ) ===
    6767This blocking function fetches a single character from the private terminal that must have been allocated to the calling task in the application mapping. It uses the TTY_RX_IRQ interrupt, and the associated kernel buffer.
    6868
    6969Exit if private TTY index not defined.
    7070
    71  === unsigned int '''giet_tty_getw'''( unsigned int* val ) ===
     71 === void '''giet_tty_getw'''( unsigned int* val ) ===
    7272This blocking function fetches a string of decimal characters (most significant digit first) to build a 32-bits unsigned integer from the private TTY terminal  that must have been allocated to the calling task in the application mapping. It uses the TTY_RX_IRQ interrupt, and the associated kernel buffer.
    7373The non-blocking system function _tty_read is called several times, and the decimal characters are written in a 32 characters buffer until a <LF> character is read. It ignores non-decimal characters, and displays an echo