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


FSp_fopen

Opens a file with FSpec and return a FILE pointer.

Compatibility:

This function is compatible with the following targets:

ANSI
BeOS
EMB/RTOS

Mac OS

Palm OS
Win32

Prototype:
#include <Fsp_fopen.h>
FILE * FSp_fopen (ConstFSSpecPtr spec, 
  const char * open_mode);
Parameters:

Parameters for this facility are:

spec  
ConstFSSpecPtr  
A toolbox file pointer  
open_mode  
char *  
The open mode  

Remarks:

The function FSp_fopen opens a file with the Macintosh Toolbox FSpec function and return a FILE pointer.


NOTE

This function requires the programmer to include the associated FSp_fopen.c source file in their project. It is not included in the MSL C library.
Return:

The FSp_fopen facility returns a FILE pointer

See Also:

"fopen"


[ 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