HPCToolkit
InputFile.cpp File Reference
#include <sys/types.h>
#include <sys/stat.h>
#include <err.h>
#include <errno.h>
#include <fcntl.h>
#include <stdlib.h>
#include <unistd.h>
#include <lib/support/diagnostics.h>
#include "InputFile.hpp"
#include "ElfHelper.hpp"
#include "Fatbin.hpp"
Include dependency graph for InputFile.cpp:

Go to the source code of this file.

Functions

static size_t file_size (int fd)
 
static size_t read_all (int fd, void *buf, size_t count)
 

Function Documentation

◆ file_size()

static size_t file_size ( int  fd)
static

Definition at line 86 of file InputFile.cpp.

Here is the caller graph for this function:

◆ read_all()

static size_t read_all ( int  fd,
void *  buf,
size_t  count 
)
static

Definition at line 101 of file InputFile.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: