MXVM 1.8.1
Virtual Machine, Compiler, and Pascal Frontend
Loading...
Searching...
No Matches
io.c File Reference

I/O module C implementation — file operations, random numbers, and time functions. More...

#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
Include dependency graph for io.c:

Go to the source code of this file.

Functions

int64_t fsize (FILE *fptr)
int64_t seed_random ()
int64_t rand_number (int64_t size)
char * mxvm_fgets (FILE *fp)

Detailed Description

I/O module C implementation — file operations, random numbers, and time functions.

Author
Jared Bruni

Definition in file io.c.

Function Documentation

◆ fsize()

int64_t fsize ( FILE * fptr)

Definition at line 12 of file io.c.

◆ mxvm_fgets()

char * mxvm_fgets ( FILE * fp)

Definition at line 29 of file io.c.

◆ rand_number()

int64_t rand_number ( int64_t size)

Definition at line 25 of file io.c.

◆ seed_random()

int64_t seed_random ( )

Definition at line 19 of file io.c.