On Thu, 8 Apr 2010, Jose Baars wrote:
> If you test attrs.permissions with S_ISDIR, you find out if it is a
> directory or not, like this :
I don't like to depend on a system macro such as S_ISDIR to check for
libssh2-specific bits, so I'm gonna introduce a set of LIBSSH2_SFTP_S_IS***()
macros that mirror the functionality.
And I'll add something to the man page for libssh2_sftp_fstat_ex() about it
all.
-- / daniel.haxx.se _______________________________________________ libssh2-devel http://cool.haxx.se/cgi-bin/mailman/listinfo/libssh2-develReceived on 2010-04-11