Changes between Version 99 and Version 100 of library_stdio


Ignore:
Timestamp:
Jul 23, 2015, 12:04:52 PM (9 years ago)
Author:
alain
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • library_stdio

    v99 v100  
    139139The GIET_VM allows an user task to use a private TTY terminal, or to display log message on the kernel TTY0 terminal.
    140140
    141  === 1) void '''giet_tty_alloc'''() ===
    142 This function allocates a private terminal to the calling task, and registers the terminal index in the task context.
    143 The calling task exit if no TTY terminal available.
     141 === 1) void '''giet_tty_alloc'''( unsigned int shared ) ===
     142If the '''shared''' argument has a zero value, this function allocates a private terminal : the TTY terminal index is registered only in the calling task context.
     143If the '''shared''' argument has a non-zero value, it allocate a shared terminal : the same TTY terminal index is registered in the task context of all tasks that are in the same v:space as the calling task.
     144The calling task exit if no TTY terminal available.
    144145
    145146  === 2) void '''giet_tty_printf'''( char* format, ... ) ===