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 ) === |
| 142 | If 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. |
| 143 | If 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. |
| 144 | The calling task exit if no TTY terminal available. |