This articlerelies largely or entirely on asingle source. Relevant discussion may be found on thetalk page. Please helpimprove this article byintroducing citations to additional sources. Find sources: "Direct.h" – news ·newspapers ·books ·scholar ·JSTOR(March 2024) |
direct.h is aC/C++header file provided by Microsoft Windows, which contains functions for manipulating file systemdirectories. SomePOSIX functions that do similar things are inunistd.h.
Name | Action |
---|---|
int_chdir(char* path) | Changeworking directory. |
int_chdrive(int drive) | Change disk drive. |
char*_getcwd(char* buffer, size_t length) | Get the current working directory pathname[1] |
char *_getwd(char *path_name); | Get working directory. |
int_getdrive(void) | Get disk drive. |
int_mkdir(const char* pathname) | Make a directory. |
int_rmdir(const char* pathname) | Remove a directory. |
void_fnmerge(char* path, const char* drive, const char* dir, const char* name, const char* ext) | Merges drive, dir, name and ext into path. |
int_fnsplit(const char* path, char* drive, char* dir, char* name, char* ext) | Splits path into drive, dir, name and ext. |
char*_searchpath(const char* file) | Searches for a file. |
![]() | Thiscomputer-programming-related article is astub. You can help Wikipedia byexpanding it. |