FreeBASIC
0.91.0
Main Page
Data Structures
Files
File List
Globals
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
}
rtlib
unix
sys_getcwd.c
Generated on Thu Jan 23 2014 19:40:10 for FreeBASIC by
1.8.4