"Fossies" - the Fresh Open Source Software Archive

Member "ansifilter-2.18-x64/src/platform_fs.h" (30 Jan 2021, 1244 Bytes) of package /windows/misc/ansifilter-2.18-x64.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "platform_fs.h": 2.16_vs_2.17.

    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