portfs.h File Reference

#include "user.h"

Go to the source code of this file.

Functions

BOOL PortableCreateDirectory (char *dir)
 A portable wrapper for creating a directory.
BOOL PortableDeleteFile (char *file)
 A portable wrapper for deleting a file.
BOOL PortableExists (char *file)
 A portable wrapper for determining whether a file or folder exists.
BOOL PortableIsDirectory (char *file)
 Determines whether a file is a directory.
BOOL PortableUTime (char *file, SYSTEMTIME *stAtime, SYSTEMTIME *stMtime)
 Sets the access and modification times for a file.


Function Documentation

BOOL PortableCreateDirectory char *  dir  ) 
 

A portable wrapper for creating a directory.

Path to the folder to create.

Returns:
TRUE if successful, FALSE otherwise.

BOOL PortableDeleteFile char *  file  ) 
 

A portable wrapper for deleting a file.

Parameters:
file Path to the file to delete.
Returns:
TRUE if successful, FALSE otherwise.

BOOL PortableExists char *  file  ) 
 

A portable wrapper for determining whether a file or folder exists.

Parameters:
file Path to check
Returns:
TRUE if the path exists, FALSE otherwise.

BOOL PortableIsDirectory char *  file  ) 
 

Determines whether a file is a directory.

Parameters:
file Path to the folder to create.
Returns:
TRUE if the file is a directory, FALSE otherwise.

BOOL PortableUTime char *  file,
SYSTEMTIME stAtime,
SYSTEMTIME stMtime
 

Sets the access and modification times for a file.

Parameters:
file Path to a file.
stAtime Access time to set to the file. If NULL, uses the current time.
stMtime Modification time to set to the file. If NULL, uses the current time.
Returns:
TRUE if successful, FALSE otherwise.


Generated on Thu Mar 27 01:46:58 2008 for Item Arrays by  doxygen 1.4.6-NO