Overview | Namespace | Class | Index | Help

PUBLIC MEMBERS: | CLASSES | STRUCTS | UNIONS | ENUMS | TYPEDEFS | METHODS | STATIC METHODS | DATA | STATIC DATA

::

## struct _oslFileStatus

Base Classes
  None.

Known Derived Classes
  None.

virtual | abstract | interface | template
NO | NO | NO | NO

Summary
  Structure containing information about files and directories
See Also
  osl_getFileStatus()
  oslFileType

File
  file.h

### Public Members

  #### Data
  sal_uInt32 uStructSize; | Must be initialized with the size in bytes of the structure before passing it to any function
  sal_uInt32 uValidFields; | Determines which members of the structure contain valid data
  oslFileType eType; | The type of the file (file, directory, volume).
  sal_uInt64 uAttributes; | File attributes
  TimeValue aCreationTime; | First creation time in nanoseconds since 1/1/1970. Can be the last modify time depending on platform or file system.
  TimeValue aAccessTime; | Last access time in nanoseconds since 1/1/1970. Can be the last modify time depending on platform or file system.
  TimeValue aModifyTime; | Last modify time in nanoseconds since 1/1/1970.
  sal_uInt64 uFileSize; | Size in bytes of the file. Zero for directories and volumes.
  rtl_uString * ustrFileName; | Case correct name of the file. Should be set to zero before calling <code>osl_getFileStatus</code> and released after usage.
  rtl_uString * ustrFileURL; | Full URL of the file. Should be set to zero before calling <code>osl_getFileStatus</code> and released after usage.
  rtl_uString * ustrLinkTargetURL; | Full URL of the target file if the file itself is a link. Should be set to zero before calling <code>osl_getFileStatus</code> and released after usage.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.