You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was working on this and I noticed something:
All the sources I can find on what is contained within direct.h contradict each other-
Which is annoying
ie. www.digitalmars.com/rtl/direct.html says that it contains fnmerge and fnsplit whereas wikipedia lists that these should have an underscore in front of them, ie _fnmerge and _fnsplit
On top of this, a lot of the functions simply can't be implemented, ie _searchpath, _chdir, _getwd, _getdrive, _getcwd, _chdrive
Currently I have the _chxxxx ones simply return 0 since they can't really do anything else, other than that, _getcwd, _getdrive, _getwd and _searchpath all return error values (either a pointer to NULL, or, 0 in the case of _getdrive)
We do have a direct.h already, but it's empty.
I currently use this hack:
I hope that someone will implement this properly.
There's more functionality in this, but this is enough for my current projects
The text was updated successfully, but these errors were encountered: