Contents|Index|Previous|Next
cygwin_split_path
USAGE
extern "C" void cygwin_split_path(const char * path , char * dir , char * file );
DESCRIPTION

Split a path into the directory, dir, and the file, file, portions. Both dir and file are expected to point to buffers of sufficient size.
 

char dir [200], file [100];
cygwin_split_path("c:/foo/bar.c", dir , file );
printf("dir=%s, file=%s\n", dir , file );

Top|Contents|Index|Previous|Next