[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Implement ttyname() for OS/2
From: |
KO Myung-Hun |
Subject: |
Re: [PATCH] Implement ttyname() for OS/2 |
Date: |
Tue, 17 Jan 2023 21:26:27 +0900 |
User-agent: |
Mozilla/5.0 (OS/2; Warp 4.5; rv:10.0.6esrpre) Gecko/20120715 Firefox/10.0.6esrpre SeaMonkey/2.7.2 |
Hi/2.
KO Myung-Hun wrote:
> OS/2 kLIBC has a declaration, but has not implemented.
>
...
> + if (type == HANDTYPE_DEVICE)
> + {
> + if ((attr & 3) == 3)
> + return (char *) "/dev/con";
> +
> + if ((attr & 4) == 4)
> + return (char *) "/dev/nul";
> +
> + if ((attr & 8) == 8)
> + return (char *) "/dev/clock$";
> + }
I'm sorry I've modified this.
--
KO Myung-Hun
Using Mozilla SeaMonkey 2.7.2
Under OS/2 Warp 4 for Korean with FixPak #15
In VirtualBox v6.1.40 on Intel Core i7-3615QM 2.30GHz with 12GB RAM
Korean OS/2 User Community : http://www.os2.kr/
v2-0001-Implement-ttyname-for-OS-2.patch
Description: Source code patch