What not to be doing - syscall()

Daniel Molkentin molkentin at kde.org
Tue Dec 23 13:31:21 GMT 2003

On Tuesday 23 December 2003 14:21, Adriaan de Groot wrote:
>On Tuesday 23 December 2003 11:56, Frans Englich wrote:
>> Throughout the kde sources getlogin(), unistd.h is used instead of the
>> KUser class. Besides the performance difference(if you could argue it
>> matter in this case), is there any other reasons to prefer getlogin()?
>> According to the manpages getlogin() is evil. Does it matter when it comes
>> to portability? What is the preferred method?
>Note also that there's the KUser class in kdeadmin/kuser and the totally
>different (and much neater) one in kdelibs.

Do you see a possibility to consollidate this class with the kuser class from 
kdelibs? That one currently only offers readonly access to a users property, 
see kdelibs/kdecore/kuser.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20031223/9d5f8797/attachment.sig>

More information about the kde-core-devel mailing list