[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KExtendedSocket: putch sends int instead of char
From:       Waldo Bastian <bastian () kde ! org>
Date:       2002-01-30 20:10:30
[Download RAW message or body]

On Wednesday 30 January 2002 04:38 am, Erik Sigra wrote:
> Monday 28 January 2002 23.51 skrev Thiago Macieira:
> > If you have problems using the KDE socket API, let me know.
> > (Constructive) Criticism and bug reports are also welcome.
>
> I found a strange thing. The functions "int getch ()" and "int putch (int
> ch)" are quite strange. Their names indicate that they should work with
> characters, but the types are integers. This mess seems to be inherited
> from QIODevice.

Type "man getch" and you will see where this is coming from.

Cheers,
Waldo
-- 
bastian@kde.org  |   SuSE Labs KDE Developer  |  bastian@suse.com


>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic