gem5 v24.0.0.0
|
#include <unistd.h>
Go to the source code of this file.
Namespaces | |
namespace | gem5 |
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved. | |
Macros | |
#define | STATIC_MSG(fd, m) |
Statically allocate a string and write it to a file descriptor. | |
#define | STATIC_ERR(m) STATIC_MSG(STDERR_FILENO, m) |
Statically allocate a string and write it to STDERR. | |
Functions | |
ssize_t | gem5::atomic_read (int fd, void *s, size_t n) |
ssize_t | gem5::atomic_write (int fd, const void *s, size_t n) |
#define STATIC_ERR | ( | m | ) | STATIC_MSG(STDERR_FILENO, m) |
Statically allocate a string and write it to STDERR.
Definition at line 67 of file atomicio.hh.
Referenced by gem5::abortHandler(), gem5::trace::OstreamLogger::logMessage(), gem5::print_backtrace(), gem5::raiseFatalSignal(), and gem5::segvHandler().
#define STATIC_MSG | ( | fd, | |
m ) |
Statically allocate a string and write it to a file descriptor.
Definition at line 53 of file atomicio.hh.