|
HPCToolkit
|
#include <sys/types.h>#include <sys/stat.h>#include <errno.h>#include <fcntl.h>#include <string.h>#include <unistd.h>#include "hpcfmt.h"#include "hpcio-buffer.h"#include "spinlock.h"#include <include/min-max.h>
Go to the source code of this file.
Macros | |
| #define | HPCIO_OUTBUF_MAGIC 0x494F4246 |
Functions | |
| static int | outbuf_flush_buffer (hpcio_outbuf_t *outbuf) |
| int | hpcio_outbuf_attach (hpcio_outbuf_t *outbuf, int fd, void *buf_start, size_t buf_size, int flags) |
| ssize_t | hpcio_outbuf_write (hpcio_outbuf_t *outbuf, const void *data, size_t size) |
| int | hpcio_outbuf_flush (hpcio_outbuf_t *outbuf) |
| int | hpcio_outbuf_close (hpcio_outbuf_t *outbuf) |
| #define HPCIO_OUTBUF_MAGIC 0x494F4246 |
Definition at line 93 of file hpcio-buffer.c.
| int hpcio_outbuf_attach | ( | hpcio_outbuf_t * | outbuf, |
| int | fd, | ||
| void * | buf_start, | ||
| size_t | buf_size, | ||
| int | flags | ||
| ) |
Definition at line 148 of file hpcio-buffer.c.


| int hpcio_outbuf_close | ( | hpcio_outbuf_t * | outbuf | ) |
Definition at line 241 of file hpcio-buffer.c.


| int hpcio_outbuf_flush | ( | hpcio_outbuf_t * | outbuf | ) |
| ssize_t hpcio_outbuf_write | ( | hpcio_outbuf_t * | outbuf, |
| const void * | data, | ||
| size_t | size | ||
| ) |
Definition at line 175 of file hpcio-buffer.c.


|
static |
Definition at line 104 of file hpcio-buffer.c.

