- * \param s the scheduler this task was registered to
- * \param t the task structure of the stdin task
+ * \param s The scheduler this task was registered to.
+ * \param t The task structure of the stdin task.
*
* This function is always successful. If there is space left in the
* buffer of the stdin task, it adds \p STDIN_FILENO to the read fd set
* of \a s.
*/
*
* This function is always successful. If there is space left in the
* buffer of the stdin task, it adds \p STDIN_FILENO to the read fd set
* of \a s.
*/
- * \param s the scheduler this task was registered to
- * \param t the task structure of the stdin task
+ * \param s The scheduler this task was registered to.
+ * \param t The task structure of the stdin task.
*
* This function checks if \p STDIN_FILENO was included by in the read fd set
* of \a s during the previous pre_select call. If yes, and \p STDIN_FILENO
* appeears to be readable, data is read from stdin into the buffer of the
* stdin task.
*/
*
* This function checks if \p STDIN_FILENO was included by in the read fd set
* of \a s during the previous pre_select call. If yes, and \p STDIN_FILENO
* appeears to be readable, data is read from stdin into the buffer of the
* stdin task.
*/
* the task. Moreover, \a loaded and \a eof are set to zero and \a bufsize is
* initialized to 16 KB (but no buffer is allocated).
*/
void stdin_set_defaults(struct stdin_task *sit)
{
* the task. Moreover, \a loaded and \a eof are set to zero and \a bufsize is
* initialized to 16 KB (but no buffer is allocated).
*/
void stdin_set_defaults(struct stdin_task *sit)
{
sit->task.pre_select = stdin_pre_select;
sit->task.post_select = stdin_post_select;
sit->task.event_handler = stdin_default_event_handler;
sit->task.private_data = sit;
sit->task.pre_select = stdin_pre_select;
sit->task.post_select = stdin_post_select;
sit->task.event_handler = stdin_default_event_handler;
sit->task.private_data = sit;