[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Minios-devel] [PATCH 0/2] lib/vfscore: Added stdin



Added the standard input fop in stdin.c and
initialised the stdin on fd 0. Added the 
__unused macro for both stdin_read and
stdout_write.

Added the blocking behaviour to the stdin_read
because ukplat_cink return 0 if nothing is
being inputted. The python shell uses a fgets
on stdin and if 0 is return the fgets returns as 
well which results in the shell terminating.

Added the echo behaviour under the form
of a stdout_write whenever an input is
being recieved.

Vlad-Andrei Badoiu (2):
  lib/vfscore: Implemented stdin fop
  lib/vfscore: Add both the block and echo support

 lib/vfscore/stdio.c | 34 +++++++++++++++++++++++++++++++---
 1 file changed, 31 insertions(+), 3 deletions(-)

-- 
2.19.1


_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.