#include <io.h>#include <fcntl.h>#include <sys/stat.h>#include <string.h>#include <stdarg.h>#include <time.h>#include <errno.h>#include <sys/nutdebug.h>#include <sys/event.h>#include <gorp/perci.h>
Go to the source code of this file.
Functions | |
| void | PerCiDump (FILE *stream, char *path) |
| Dump ring buffer file to given stream. | |
| int | PerCiInit (char *path, int recs) |
| Initialize a ring buffer file. | |
| PERCI_WRITER * | PerCiOpen (char *path) |
| Open a ring buffer file. | |
| void | PerCiFlush (PERCI_WRITER *writer) |
| Flush the current write buffer. | |
| void | PerCiClose (PERCI_WRITER *writer) |
| Close a ring buffer file. | |
| int | PerCiWrite (PERCI_WRITER *writer, CONST char *data, int len) |
| Write to a ring buffer file. | |
| int | PerCiWriteVarList (PERCI_WRITER *writer, CONST char *fmt, va_list ap) |
| Write formatted line to a ring buffer file. | |
| int | PerCiWriteFormat (PERCI_WRITER *writer, CONST char *fmt,...) |
| Write formatted line to a ring buffer file. | |
| PERCI_READER * | PerCiAttachReader (PERCI_WRITER *writer) |
| Start reading from a ring buffer file. | |
| void | PerCiDetachReader (PERCI_READER *reader) |
| Stop reading from a ring buffer file. | |
| int | PerCiRead (PERCI_READER *reader, char *data, int len) |
| Read data from a ring buffer file. | |
| int | PerCiReadLine (PERCI_READER *reader, char *line, int len) |
| Read a text line from a ring buffer file. | |