SELKIELogger  1.0.0
MPMessagesFromFile.c File Reference

Test reading MessagePacked data from a file. More...

#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <unistd.h>
#include "SELKIELoggerMP.h"
Include dependency graph for MPMessagesFromFile.c:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Detailed Description

Test reading MessagePacked data from a file.

Definition in file MPMessagesFromFile.c.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Read data from file until end of file is reached, outputting total number of entries read.

Exact outputs dependent on supplied test data

Parameters
[in]argcArgument count
[in]argvArguments
Returns
0 (Pass), -1 (Fail), -2 (Failed to run / Error)

Definition at line 47 of file MPMessagesFromFile.c.