Scippy

SCIP

Solving Constraint Integer Programs

fileio.c File Reference

Detailed Description

wrapper functions to map file i/o to standard or zlib file i/o

Author
Tobias Achterberg

Definition in file fileio.c.

#include <stdio.h>
#include <stdarg.h>
#include "scip/pub_fileio.h"

Go to the source code of this file.

Macros

#define BUFFER_LEN   8192
 

Functions

SCIP_FILESCIPfopen (const char *path, const char *mode)
 
SCIP_FILESCIPfdopen (int fildes, const char *mode)
 
size_t SCIPfread (void *ptr, size_t size, size_t nmemb, SCIP_FILE *stream)
 
size_t SCIPfwrite (const void *ptr, size_t size, size_t nmemb, SCIP_FILE *stream)
 
int SCIPfprintf (SCIP_FILE *stream, const char *format,...)
 
int SCIPfputc (int c, SCIP_FILE *stream)
 
int SCIPfputs (const char *s, SCIP_FILE *stream)
 
int SCIPfgetc (SCIP_FILE *stream)
 
char * SCIPfgets (char *s, int size, SCIP_FILE *stream)
 
int SCIPfflush (SCIP_FILE *stream)
 
int SCIPfseek (SCIP_FILE *stream, long offset, int whence)
 
void SCIPrewind (SCIP_FILE *stream)
 
long SCIPftell (SCIP_FILE *stream)
 
int SCIPfeof (SCIP_FILE *stream)
 
int SCIPfclose (SCIP_FILE *fp)
 

Macro Definition Documentation

◆ BUFFER_LEN

#define BUFFER_LEN   8192

Definition at line 29 of file fileio.c.

Function Documentation

◆ SCIPfopen()

◆ SCIPfdopen()

SCIP_FILE* SCIPfdopen ( int  fildes,
const char *  mode 
)

Definition at line 145 of file fileio.c.

◆ SCIPfread()

size_t SCIPfread ( void *  ptr,
size_t  size,
size_t  nmemb,
SCIP_FILE stream 
)

Definition at line 150 of file fileio.c.

◆ SCIPfwrite()

size_t SCIPfwrite ( const void *  ptr,
size_t  size,
size_t  nmemb,
SCIP_FILE stream 
)

Definition at line 155 of file fileio.c.

◆ SCIPfprintf()

int SCIPfprintf ( SCIP_FILE stream,
const char *  format,
  ... 
)

Definition at line 160 of file fileio.c.

◆ SCIPfputc()

int SCIPfputc ( int  c,
SCIP_FILE stream 
)

Definition at line 172 of file fileio.c.

◆ SCIPfputs()

int SCIPfputs ( const char *  s,
SCIP_FILE stream 
)

Definition at line 177 of file fileio.c.

◆ SCIPfgetc()

int SCIPfgetc ( SCIP_FILE stream)

Definition at line 182 of file fileio.c.

◆ SCIPfgets()

◆ SCIPfflush()

int SCIPfflush ( SCIP_FILE stream)

Definition at line 194 of file fileio.c.

◆ SCIPfseek()

int SCIPfseek ( SCIP_FILE stream,
long  offset,
int  whence 
)

Definition at line 199 of file fileio.c.

Referenced by getMaxAndConsDim(), and getNextLine().

◆ SCIPrewind()

void SCIPrewind ( SCIP_FILE stream)

Definition at line 204 of file fileio.c.

◆ SCIPftell()

long SCIPftell ( SCIP_FILE stream)

Definition at line 209 of file fileio.c.

◆ SCIPfeof()

◆ SCIPfclose()