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_sendfile ::sendfile64 00051 #define KDE_struct_stat struct stat64 00052 #define KDE_struct_dirent struct dirent64 00053 #else 00054 #define KDE_stat ::stat 00055 #define KDE_lstat ::lstat 00056 #define KDE_fstat ::fstat 00057 #define KDE_open ::open 00058 #define KDE_lseek ::lseek 00059 #define KDE_readdir ::readdir 00060 #define KDE_sendfile ::sendfile 00061 #define KDE_struct_stat struct stat 00062 #define KDE_struct_dirent struct dirent 00063 #endif 00064 00065 #ifdef _LFS64_STDIO 00066 #define KDE_fopen fopen64 00067 #else 00068 #define KDE_fopen fopen 00069 #endif 00070 00071 #endif
KDE Logo
This file is part of the documentation for kdecore Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Sep 29 09:40:08 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003