The ROme OpTimistic Simulator  3.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
io.h File Reference

Generic input-output facilities. More...

#include <arch/platform.h>
#include <stdbool.h>
#include <stdio.h>
+ Include dependency graph for io.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IO_TIME_BUFFER_LEN   26
 

Functions

bool io_terminal_can_colorize (void)
 Determines if stdout supports colored text. More...
 
void io_local_time_get (char res[26])
 
FILE * io_file_tmp_get (void)
 Creates a temporary file. More...
 

Detailed Description

Generic input-output facilities.

This header declares architecture independent input-oputput facilities for the use in the simulator

Definition in file io.h.

Function Documentation

◆ io_file_tmp_get()

io_file_tmp_get ( void  )

Creates a temporary file.

Returns
a temporary file, an opaque object to be used in this module

◆ io_terminal_can_colorize()

io_terminal_can_colorize ( void  )

Determines if stdout supports colored text.

Returns
true if colors escape sequences can be used, false otherwise

Definition at line 16 of file init_test.c.