read_input.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "read_input.h"
Include dependency graph for read_input.c:

Functions

unsigned int test_float (const char *str)
 See https://stackoverflow.com/questions/45554639/is-there-a-way-to-check-if-a-string-can-be-a-float-in-c. More...
 
int check_for_one_equal_sign (char *line_in)
 
char * trim (char *in)
 
void parse_line (char *line_in, char **pname, char **pvalue)
 
unsigned int lines_with_parameters (FILE *fp)
 

Function Documentation

◆ check_for_one_equal_sign()

int check_for_one_equal_sign ( char *  line_in)
Here is the caller graph for this function:

◆ lines_with_parameters()

unsigned int lines_with_parameters ( FILE *  fp)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ parse_line()

void parse_line ( char *  line_in,
char **  pname,
char **  pvalue 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_float()

unsigned int test_float ( const char *  str)

◆ trim()

char * trim ( char *  in)
Here is the caller graph for this function: