newrpl/firmware/sys/fsystem/fseof.c
2016-06-14 20:20:05 -04:00

18 lines
352 B
C

/*
* Copyright (c) 2014-2015, Claudio Lapilli and the newRPL Team
* All rights reserved.
* This file is released under the 3-clause BSD license.
* See the file LICENSE.txt that shipped with this distribution.
*/
#include "fsyspriv.h"
// END-OF-FILE DETECTION
int FSEof(FS_FILE *file)
{
return (file->CurrentOffset>=file->FileSize)? TRUE:FALSE;
}