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


_chdir

This function is used to change the directory.

Compatibility:

This function is compatible with the following targets:

ANSI
BeOS
EMB/RTOS
Mac OS

Palm OS

Win32


Prototype:
#include <io.h>
int _chdir(const char *dirname);
Parameters:

Parameters for this function are:

dirname  
const char *  
The new directory name  

Return:

False if successful, or sets an errno variable and returns -1 if unsuccessful.

See Also:

"_chdrive"

"_makepath"


[ 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