implemented request at28875

This commit is contained in:
David Anderson
2006-04-27 17:31:38 +00:00
parent 38cb60c60b
commit 8da4987895
2 changed files with 34 additions and 0 deletions

View File

@ -28,6 +28,10 @@ native delete_file(const file[]);
/* Checks for file. If file exists function returns 1, in other case 0. */
native file_exists(const file[]);
/* renames a file. returns 0 on failure, 1 on success.
*/
native rename_file(const oldname[], const newname[]);
/* Checks if a directory exists */
native dir_exists(const dir[]);
@ -72,6 +76,9 @@ native feof(file);
//Reads a line from a text file -- includes newline!
native fgets(file, buffer[], maxlength);
//Writes a line to a text file. Returns # of characters written.
native fputs(file, const text[]);
//Writes a line to the file
native fprintf(file, const fmt[], {Float,Sql,Result,_}:...);