llconf 0.0.2
llconf.c File Reference
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h>
#include <errno.h>
#include <getopt.h>
#include "strutils.h"
#include "nodes.h"
#include "lines.h"
#include "entry.h"
#include "modules.h"
#include "parsers/allmodules.h"

Macros

#define _GNU_SOURCE
 

Functions

FILE * open_file_or_exit (const char *fname, const char *mode)
 
FILE * open_tmpfile_or_exit (const char *fname)
 
void move_tmpfile_or_exit (const char *fname)
 
void usage ()
 
int main (int argc, char *argv[])
 

Variables

int exit_code = 0
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Function Documentation

◆ main()

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

◆ move_tmpfile_or_exit()

void move_tmpfile_or_exit ( const char * fname)

◆ open_file_or_exit()

FILE * open_file_or_exit ( const char * fname,
const char * mode )

◆ open_tmpfile_or_exit()

FILE * open_tmpfile_or_exit ( const char * fname)

◆ usage()

void usage ( )

Variable Documentation

◆ exit_code

int exit_code = 0