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

Re: [Minios-devel] [UNIKRAFT/NEWLIB PATCH 1/1] Add ptsname, ttyname_r and cfmakeraw stubs



Hi Vlad, looks good, thanks.

-- Felipe

Reviewed-by: Felipe Huici <felipe.huici@xxxxxxxxx>

On 18.03.20, 02:10, "Vlad-Andrei BĂDOIU" <vlad_andrei.badoiu@xxxxxxxxxxxxxxx> 
wrote:

    Signed-off-by: Vlad-Andrei BĂDOIU <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
    ---
     pty.c | 17 +++++++++++++++++
     1 file changed, 17 insertions(+)
    
    diff --git a/pty.c b/pty.c
    index 07346de..52a91ca 100644
    --- a/pty.c
    +++ b/pty.c
    @@ -55,3 +55,20 @@ pid_t forkpty(int *amaster __unused, char *name __unused,
        errno = ENOENT;
        return -1;
     }
    +
    +char *ptsname(int fd __unused)
    +{
    +   errno = ENOTTY;
    +   return NULL;
    +}
    +
    +int ttyname_r(int fd __unused, char *buf __unused, size_t buflen __unused)
    +{
    +   errno = ENOTTY;
    +   return -1;
    +}
    +
    +void cfmakeraw(struct termios *termios_p)
    +{
    +
    +}
    -- 
    2.20.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®.