MEDfileOpen.c
Aller à la documentation de ce fichier.
/* This file is part of MED.
*
* COPYRIGHT (C) 1999 - 2020 EDF R&D, CEA/DEN
* MED is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* MED is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with MED. If not, see <http://www.gnu.org/licenses/>.
*/
#include <med.h>
#include <med_config.h>
#include <med_outils.h>
/* #ifdef PPRO_NT_CALL */
/* #define F_OK 0 */
/* #else */
/* #include <unistd.h> */
/* #endif */
med_idt
MEDfileOpen(const char* const filename,
const med_access_mode accessmode)
{
return MEDfileVersionOpen( filename, accessmode,
MED_NUM_MAJEUR, MED_NUM_MINEUR, MED_NUM_RELEASE );
}
MEDfileOpen
med_idt MEDfileOpen(const char *const filename, const med_access_mode accessmode)
Ouverture d'un fichier MED.
Definition MEDfileOpen.c:42
MEDfileVersionOpen
MEDC_EXPORT med_idt MEDfileVersionOpen(const char *const filename, const med_access_mode accessmode, const med_int major, const med_int minor, const med_int release)
Ouverture d'un fichier MED en indiquant la version du modèle à utiliser en cas de création d'un nouve...
Definition MEDfileVersionOpen.c:45
MED_NUM_MAJEUR
#define MED_NUM_MAJEUR
Definition med.h:65
MED_NUM_MINEUR
#define MED_NUM_MINEUR
Definition med.h:66
MED_NUM_RELEASE
#define MED_NUM_RELEASE
Definition med.h:67
med_access_mode
med_access_mode
Definition med.h:120
med_idt
hid_t med_idt
Definition med.h:322
med.h
med_config.h
med_outils.h
filename
#define filename
Definition test10.c:73