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


_getcwd

Gets the current working directory

Compatibility:

This function is compatible with the following targets:

ANSI
BeOS
EMB/RTOS
Mac OS

Palm OS

Win32


Prototype:
#include <io.h>
char * _getcwd(
  char *path,
  int maxlen);
Parameters:

Parameters for this function are:

path  
char *  
A buffer to store the string  
maxlen  
int  
Max length of buffer  

Return:

A pointer to the path buffer, or sets an errno value and returns NULL if unsuccessful.

See Also:

"_searchenv"


[ 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