kdecore Library API Documentation

klargefile.h

00001 /* 00002 This file is part of the KDE libraries 00003 Copyright (c) 2001 Waldo Bastian <bastian@kde.org> 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License version 2 as published by the Free Software Foundation. 00008 00009 This library is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 Library General Public License for more details. 00013 00014 You should have received a copy of the GNU Library General Public License 00015 along with this library; see the file COPYING.LIB. If not, write to 00016 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, 00017 Boston, MA 02111-1307, USA. 00018 */ 00019 00020 #ifndef _KDE_LARGEFILE_H_ 00021 #define _KDE_LARGEFILE_H_ 00022 00041 #include <unistd.h> 00042 00043 #ifdef _LFS64_LARGEFILE 00044 #define KDE_stat ::stat64 00045 #define KDE_lstat ::lstat64 00046 #define KDE_fstat ::fstat64 00047 #define KDE_open ::open64 00048 #define KDE_lseek ::lseek64 00049 #define KDE_readdir ::readdir64 00050 #define KDE_struct_stat struct stat64 00051 #define KDE_struct_dirent struct dirent64 00052 #else 00053 #define KDE_stat ::stat 00054 #define KDE_lstat ::lstat 00055 #define KDE_fstat ::fstat 00056 #define KDE_open ::open 00057 #define KDE_lseek ::lseek 00058 #define KDE_readdir ::readdir 00059 #define KDE_struct_stat struct stat 00060 #define KDE_struct_dirent struct dirent 00061 #endif 00062 00063 #ifdef _LFS64_STDIO 00064 #define KDE_fopen fopen64 00065 #else 00066 #define KDE_fopen fopen 00067 #endif 00068 00069 #endif
KDE Logo
This file is part of the documentation for kdecore Library Version 3.2.3.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Mar 16 17:21:42 2005 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003