FreeBASIC  0.91.0
sys_getcwd.c
Go to the documentation of this file.
1 /* get current dir */
2 
3 #include "../fb.h"
4 
5 ssize_t fb_hGetCurrentDir( char *dst, ssize_t maxlen )
6 {
7  if( getcwd( dst, maxlen ) != NULL )
8  return strlen( dst );
9  return 0;
10 }