Lumiera  0.pre.03
»edit your freedom«
luidgen.c File Reference

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)