[Qt-interest] Symbolic link real value?

Will Rutherdale (rutherw) rutherw at cisco.com
Tue Jul 28 16:59:46 CEST 2009


> -----Original Message-----
> From: qt-interest-bounces at trolltech.com 
> [mailto:qt-interest-bounces at trolltech.com] On Behalf Of Will 
> Rutherdale (rutherw)
> Sent: 28 July 2009 10:55
> To: Qt-interest
> Subject: Re: [Qt-interest] Symbolic link real value?
> 
> man -s 3 readlink
> 
> The standard solution in any Unix-like system is:
> 
> #include <unistd.h>
> 
> // ...
> 
> ssize_t nbytes = readlink( "location/of/my/symlink", my_buff,
> my_buff_size );
> 
> -Will
> 

My apologies.  That's

man -s 2 readlink

-Will




More information about the Qt-interest-old mailing list