Psi4
Namespaces | Macros | Functions
open.cc File Reference
#include <cstdio>
#include <fcntl.h>
#include <cstring>
#include <cstdlib>
#include <unistd.h>
#include <string>
#include <map>
#include <sstream>
#include "psi4/libpsio/psio.h"
#include "psi4/libpsio/psio.hpp"
#include "psi4/psi4-dec.h"

Namespaces

 psi
 This is all defined in python.cc initialize.
 

Macros

#define SYSTEM_OPEN   ::open
 
#define SYSTEM_CLOSE   ::close
 
#define PSIO_OPEN_OLD_FLAGS   O_CREAT | O_RDWR
 
#define PSIO_OPEN_NEW_FLAGS   O_CREAT | O_RDWR | O_TRUNC
 
#define PERMISSION_MODE   S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH
 

Functions

int psi::psio_open (size_t unit, int status)
 

Macro Definition Documentation

#define PERMISSION_MODE   S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH
#define PSIO_OPEN_NEW_FLAGS   O_CREAT | O_RDWR | O_TRUNC
#define PSIO_OPEN_OLD_FLAGS   O_CREAT | O_RDWR
#define SYSTEM_CLOSE   ::close
#define SYSTEM_OPEN   ::open