SELKIELogger  1.0.0
LPMSMessagesFromFile.c File Reference

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

#include <stdbool.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "SELKIELoggerBase.h"
#include "SELKIELoggerLPMS.h"
#include "version.h"
Include dependency graph for LPMSMessagesFromFile.c:

Go to the source code of this file.

Macros

#define BUFSIZE   1024
 Allocated read buffer size.
 

Functions

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

Detailed Description

Test reading LPMS data from a file.

Definition in file LPMSMessagesFromFile.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 56 of file LPMSMessagesFromFile.c.