[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]


path2fss

his function is similar to PBMakeFSSpec.

Compatibility:

This function is compatible with the following targets:

ANSI
BeOS
EMB/RTOS

Mac OS

Palm OS
Win32

Prototype:
#include <path2fss.h>
OSErr __path2fss
   (const char * pathName, FSSpecPtr spec)
Parameters:

Parameters for this facility are:

pathname  
const char *  
The path name  
spec  
FSSpecPtr  
A file specification pointer  

Remarks:

This function is similar to PBMakeFSSpec with three major differences:

Like PBMakeFSSpec, this function returns fnfErr if the specified file does not exist but the FSSpec is still valid for the purposes of creating a new file.

Return:

Errors are returned for invalid path names or path names that specify directories rather than files

See Also:

"Inside Macintosh : Files"


[ First ]  [ Previous ]  [ Next ]  [ Last ]  [ Manuals ]

Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000