|
116 | 116 | /*-----------------------------------------------------------
|
117 | 117 | * Get and set the task's file system errno
|
118 | 118 | * The most up to date API documentation is currently provided on the following URL:
|
119 |
| - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html |
| 119 | + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API |
120 | 120 | *-----------------------------------------------------------*/
|
121 | 121 |
|
122 | 122 | /*
|
|
191 | 191 | /*-----------------------------------------------------------
|
192 | 192 | * Open and close a file
|
193 | 193 | * The most up to date API documentation is currently provided on the following URL:
|
194 |
| - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html |
| 194 | + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API |
195 | 195 | *-----------------------------------------------------------*/
|
196 | 196 | FF_FILE * ff_fopen( const char * pcFile,
|
197 | 197 | const char * pcMode );
|
|
201 | 201 | /*-----------------------------------------------------------
|
202 | 202 | * Seek and tell
|
203 | 203 | * The most up to date API documentation is currently provided on the following URL:
|
204 |
| - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html |
| 204 | + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API |
205 | 205 | *-----------------------------------------------------------*/
|
206 | 206 | int ff_fseek( FF_FILE * pxStream,
|
207 | 207 | long lOffset,
|
|
214 | 214 | /*-----------------------------------------------------------
|
215 | 215 | * Read and write
|
216 | 216 | * The most up to date API documentation is currently provided on the following URL:
|
217 |
| - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html |
| 217 | + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API |
218 | 218 | *-----------------------------------------------------------*/
|
219 | 219 | size_t ff_fread( void * pvBuffer,
|
220 | 220 | size_t xSize,
|
|
253 | 253 | * The actual length of the file will be made equal to the current writing
|
254 | 254 | * position
|
255 | 255 | * The most up to date API documentation is currently provided on the following URL:
|
256 |
| - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html |
| 256 | + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API |
257 | 257 | *-----------------------------------------------------------*/
|
258 | 258 | int ff_seteof( FF_FILE * pxStream );
|
259 | 259 |
|
|
262 | 262 | * or write zero's up until the required length, and return a handle to the open
|
263 | 263 | * file. If NULL is returned, ff_errno contains an error code.
|
264 | 264 | * The most up to date API documentation is currently provided on the following URL:
|
265 |
| - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html |
| 265 | + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API |
266 | 266 | *-----------------------------------------------------------*/
|
267 | 267 | FF_FILE * ff_truncate( const char * pcFileName,
|
268 | 268 | long lTruncateSize );
|
269 | 269 |
|
270 | 270 | /*-----------------------------------------------------------
|
271 | 271 | * Flush to disk
|
272 | 272 | * The most up to date API documentation is currently provided on the following URL:
|
273 |
| - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html |
| 273 | + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API |
274 | 274 | *-----------------------------------------------------------*/
|
275 | 275 | int ff_fflush( FF_FILE * pxStream );
|
276 | 276 |
|
277 | 277 |
|
278 | 278 | /*-----------------------------------------------------------
|
279 | 279 | * Create directory, remove and rename files
|
280 | 280 | * The most up to date API documentation is currently provided on the following URL:
|
281 |
| - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html |
| 281 | + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API |
282 | 282 | *-----------------------------------------------------------*/
|
283 | 283 | #if ( ffconfigMKDIR_RECURSIVE == 0 )
|
284 | 284 | int ff_mkdir( const char * pcPath );
|
|
293 | 293 | /*-----------------------------------------------------------
|
294 | 294 | * Create path specified by the pcPath parameter.
|
295 | 295 | * The most up to date API documentation is currently provided on the following URL:
|
296 |
| - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html |
| 296 | + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API |
297 | 297 | *-----------------------------------------------------------*/
|
298 | 298 | int ff_mkpath( const char * pcPath );
|
299 | 299 |
|
300 | 300 | /*-----------------------------------------------------------
|
301 | 301 | * Remove the directory specified by the pcDirectory parameter.
|
302 | 302 | * The most up to date API documentation is currently provided on the following URL:
|
303 |
| - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html |
| 303 | + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API |
304 | 304 | *-----------------------------------------------------------*/
|
305 | 305 | int ff_rmdir( const char * pcDirectory );
|
306 | 306 |
|
307 | 307 | /*-----------------------------------------------------------
|
308 | 308 | * Delete a directory and, recursively, all of its contents.
|
309 | 309 | * The most up to date API documentation is currently provided on the following URL:
|
310 |
| - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html |
| 310 | + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API |
311 | 311 | *-----------------------------------------------------------*/
|
312 | 312 | #if ( ffconfigUSE_DELTREE != 0 )
|
313 | 313 |
|
|
325 | 325 | /*-----------------------------------------------------------
|
326 | 326 | * Remove/delete a file.
|
327 | 327 | * The most up to date API documentation is currently provided on the following URL:
|
328 |
| - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html |
| 328 | + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API |
329 | 329 | *-----------------------------------------------------------*/
|
330 | 330 | int ff_remove( const char * pcPath );
|
331 | 331 |
|
332 | 332 | /*-----------------------------------------------------------
|
333 | 333 | * Move a file, also cross-directory but not across a file system.
|
334 | 334 | * The most up to date API documentation is currently provided on the following URL:
|
335 |
| - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html |
| 335 | + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API |
336 | 336 | *-----------------------------------------------------------*/
|
337 | 337 | int ff_rename( const char * pcOldName,
|
338 | 338 | const char * pcNewName,
|
|
342 | 342 | /*-----------------------------------------------------------
|
343 | 343 | * Get the status of a file.
|
344 | 344 | * The most up to date API documentation is currently provided on the following URL:
|
345 |
| - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html |
| 345 | + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API |
346 | 346 | *-----------------------------------------------------------*/
|
347 | 347 | int ff_stat( const char * pcFileName,
|
348 | 348 | FF_Stat_t * pxStatBuffer );
|
|
353 | 353 | /*-----------------------------------------------------------
|
354 | 354 | * Get the length of a file in bytes.
|
355 | 355 | * The most up to date API documentation is currently provided on the following URL:
|
356 |
| - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html |
| 356 | + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API |
357 | 357 | *-----------------------------------------------------------*/
|
358 | 358 | size_t ff_filelength( FF_FILE * pxFile );
|
359 | 359 |
|
360 | 360 | /*-----------------------------------------------------------
|
361 | 361 | * Working directory and iterating through directories.
|
362 | 362 | * The most up to date API documentation is currently provided on the following URL:
|
363 |
| - * http://www.freertos.org/FreeRTOS-Plus/FreeRTOS_Plus_FAT/Standard_File_System_API.html |
| 363 | + * https://www.freertos.org/Documentation/03-Libraries/05-FreeRTOS-labs/04-FreeRTOS-plus-FAT/05-Standard_Native_File_System_API |
364 | 364 | *-----------------------------------------------------------*/
|
365 | 365 | #if ffconfigHAS_CWD
|
366 | 366 | int ff_chdir( const char * pcDirectoryName );
|
|
0 commit comments