]> xenbits.xensource.com Git - unikraft/libs/newlib.git/commit
Revisit pty.c functions
authorCostin Lupu <costin.lupu@cs.pub.ro>
Mon, 2 Sep 2019 13:31:03 +0000 (16:31 +0300)
committerCostin Lupu <costin.lupu@cs.pub.ro>
Tue, 3 Sep 2019 17:25:07 +0000 (20:25 +0300)
commitb2a851d3f138e8ee2e0043bb543b8585024146d3
tree61544c8578637f28ae9144664f1740b403f93967
parent684a661ffd8a7efe547f2bb1c40f08a7b54ccf61
Revisit pty.c functions

Actually the openpty() and forkpty() stubs should return errors, because
otherwise the callee will try to use the amaster and aslave file descriptors
returned by the functions.

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Felipe Huici <felipe.huici@neclab.eu>
pty.c