Octave-Forge - Extra packages for GNU Octave | |
Home · Packages · Developers · Documentation · FAQ · Bugs · Mailing Lists · Links · Code |
00001 /* -*- buffer-read-only: t -*- vi: set ro: */ 00002 /* DO NOT EDIT! GENERATED AUTOMATICALLY! */ 00003 /* Make a string describing file modes. 00004 00005 Copyright (C) 1998-1999, 2003, 2006, 2009-2011 Free Software Foundation, 00006 Inc. 00007 00008 This program is free software: you can redistribute it and/or modify 00009 it under the terms of the GNU General Public License as published by 00010 the Free Software Foundation; either version 3 of the License, or 00011 (at your option) any later version. 00012 00013 This program is distributed in the hope that it will be useful, 00014 but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 GNU General Public License for more details. 00017 00018 You should have received a copy of the GNU General Public License 00019 along with this program. If not, see <http://www.gnu.org/licenses/>. */ 00020 00021 #ifndef FILEMODE_H_ 00022 00023 # include <sys/types.h> 00024 # include <sys/stat.h> 00025 00026 /* Get the declaration of strmode. */ 00027 # if HAVE_DECL_STRMODE 00028 # include <string.h> /* MacOS X, FreeBSD, OpenBSD */ 00029 # include <unistd.h> /* NetBSD */ 00030 # endif 00031 00032 # ifdef __cplusplus 00033 extern "C" { 00034 # endif 00035 00036 # if !HAVE_DECL_STRMODE 00037 extern void strmode (mode_t mode, char *str); 00038 # endif 00039 00040 extern void filemodestring (struct stat const *statp, char *str); 00041 00042 # ifdef __cplusplus 00043 } 00044 # endif 00045 00046 #endif