What not to be doing - syscall()

Frans Englich frans.englich at telia.com
Tue Dec 23 10:56:31 GMT 2003



I have a related porting/syscall question:

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?


			Frans





More information about the kde-core-devel mailing list