Lumiera 0.pre.04
»edit your freedom«
Loading...
Searching...
No Matches
luidgen.c File Reference

Generate a fixed LUID to be hard-wired into source code. More...

Go to the source code of this file.

Description

Generate a fixed LUID to be hard-wired into source code.

This Helper generates and prints a Lumiera UID as octal escaped string or processes a file, replacing the token LUIDGEN with the octal representation of a newly generated LUID. This can be used to fill in some LUID values into new source code prior to compiling it for the first time.

The Lumiera build system generates stand-alone executable from this source file.

See also
luid.h
interface.h

Definition in file luidgen.c.

#include "lib/tmpbuf.h"
#include "lib/luid.h"
#include <unistd.h>
#include <stdint.h>
#include <errno.h>
#include <stdio.h>
#include <string.h>
#include <nobug.h>

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 43 of file luidgen.c.

References lumiera_tmpbuf_snprintf(), LUMIERA_UID_ELEMENTS, LUMIERA_UID_FMT, and lumiera_uid_gen().

+ Here is the call graph for this function: