rasProject_01 / weSweetHome  R. 116 2026-05-14
process control       /     RasPi software         by   weinert-automation
Loading...
Searching...
No Matches
hometersDayVal.c File Reference

A program to handle some day specific settings and values. More...

#include "arch/config.h"
#include "sweetHome.h"
#include "weUtil.h"
#include <errno.h>
#include <getopt.h>

Functions

int main (int argc, char **argv)
 The program.
int readRetFil (void)
 Read (day start) retain file.
int writeRetFil (void)
 Write (day start) retain file.

Variables

char const prgNamPure []
 The pure program name.
char const prgSVNdat []
 The complete SVN date string.
char const prgSVNrev []
 The complete SVN revision string.

Detailed Description

A program to handle some day specific settings and values.

At the present (simple start) stage this program just displays the current day's start / hibernation value file content.

More feature controlled by start parameters will be added in future.

Revision history

cross-compile by:

and so on ....

or by:

program by:

or due to some bugs in make use winscp and IP directly by:

Function Documentation

◆ readRetFil()

int readRetFil ( void )

Read (day start) retain file.

Returns
0 : file found and read; else not

◆ writeRetFil()

int writeRetFil ( void )

Write (day start) retain file.

Returns
0 : file opened/created and written; else not

◆ main()

int main ( int argc,
char ** argv )

The program.

run by: hometersControl [options options so far (14.11.17): any parameter = use stdout and stderr

Variable Documentation

◆ prgNamPure

char const prgNamPure[]

The pure program name.

To be provided in the application's / program's source.

See also
progNam() progNamB()

◆ prgSVNrev

char const prgSVNrev[]

The complete SVN revision string.

To be provided in the application's / program's source.

See also
progRev()

◆ prgSVNdat

char const prgSVNdat[]

The complete SVN date string.

To be provided in the application's / program's source.

See also
progDat()