Currently, I use something like this in my code:

   #ifdef Q_OS_WIN32
     use _stat64() and test for "con", "prn", "aux", "nul", etc
   #else
     assume POSIX and always use stat()
   #endif

in order to determine whether a file is special (for example a pipe or 
character device).

I know QFileInfo doesn't offer anything for this, but just in case I 
didn't search long enough: is there a Qt way of doing this?

_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to