SMREmulator 1.0
ShingledMagneticRecordingEmulator
|
Function prototypes and data structures pertaining to logging. More...
#include <stdio.h>
#include <fcntl.h>
#include <errno.h>
#include <stdarg.h>
#include <string.h>
#include <unistd.h>
#include <time.h>
Go to the source code of this file.
Functions | |
edi_lops_t * | emulog_open (const char *) |
Opens the log file for logging. | |
int | emulog_close () |
Closes the open log file. |
Function prototypes and data structures pertaining to logging.
Definition in file emulog.h.
int emulog_close | ( | ) |
edi_lops_t* emulog_open | ( | const char * | log_file | ) |
Opens the log file for logging.
If the log file does not exist, it is created. If it already exists, then it is opened in append mode to continue logging.
log_file | Path to the log file |
Definition at line 55 of file emulog.c.
Referenced by edi_init().