Subversion Repositories Kolibri OS

Rev

Rev 8179 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 8179 Rev 9675
Line 80... Line 80...
80
 
80
 
81
		if(!_FileAccess(file_data)) return file_data->Function;
81
		if(!_FileAccess(file_data)) return file_data->Function;
82
		else return 0;
82
		else return 0;
Line -... Line 83...
-
 
83
	}
-
 
84
 
-
 
85
	unsigned long int FileCreate(FileInfoBlock* file_data, void *mem, int size)
-
 
86
	{
-
 
87
		file_data->Function = 2; //SSF_CREATE_FILE
-
 
88
		file_data->Position = 0;
-
 
89
		file_data->Flags = 0;
-
 
90
		file_data->Count = size;
-
 
91
		file_data->Buffer = (char*)mem;
-
 
92
 
-
 
93
		if(!_FileAccess(file_data)) return file_data->Function;
-
 
94
		else return 0;
83
	}
95
	}
Line 84... Line 96...
84
	
96
 
85
// Inline functions.
97
// Inline functions.
86
 
98