1 /*************************************************************************** 2 platform_fs.h - description 3 ------------------- 4 begin : Sun Oct 13 2007 5 copyright : (C) 2007-2020 by Andre Simon 6 email : a.simon@mailbox.org 7 ***************************************************************************/ 8 /* 9 This file is part of ANSIFilter. 10 11 ANSIFilter is free software: you can redistribute it and/or modify 12 it under the terms of the GNU General Public License as published by 13 the Free Software Foundation, either version 3 of the License, or 14 (at your option) any later version. 15 16 ANSIFilter is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU General Public License for more details. 20 21 You should have received a copy of the GNU General Public License 22 along with ANSIFilter. If not, see <http://www.gnu.org/licenses/>. 23 */ 24 #ifndef PLATFORM_FS__H__INCLUDED 25 #define PLATFORM_FS__H__INCLUDED 26 27 #include <string> 28 29 30 namespace Platform 31 { 32 extern const char pathSeparator; 33 34 off_t fileSize(const std::string& fName); 35 } 36 #endif