moved mkdir from amxmodx.inc to file.inc

This commit is contained in:
Steve Dudenhoeffer 2007-08-07 00:54:22 +00:00
parent 1721383237
commit 544d2dedef
2 changed files with 4 additions and 3 deletions

View File

@ -733,9 +733,6 @@ native require_module(const module[]);
native is_amd64_server(); native is_amd64_server();
/* Returns 0 on success, like the POSIX specification */
native mkdir(const dirname[]);
/* Returns plugin id searched by file/name. Returns INVALID_PLUGIN_ID on failure. */ /* Returns plugin id searched by file/name. Returns INVALID_PLUGIN_ID on failure. */
native find_plugin_byfile(const filename[], ignoreCase=1); native find_plugin_byfile(const filename[], ignoreCase=1);

View File

@ -104,6 +104,10 @@ native filesize(const filename[], any:...);
// operating systems. // operating systems.
native rmdir(const path[]); native rmdir(const path[]);
/* Returns 0 on success, like the POSIX specification */
native mkdir(const dirname[]);
//Delete a file (delete_file macro) //Delete a file (delete_file macro)
native unlink(const filename[]); native unlink(const filename[]);