Sturk 1.0.2
Publish-subscribe C implementation.
Loading...
Searching...
No Matches
sys.h File Reference

System procedures. More...

#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
Include dependency graph for sys.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int st_snprintf (char *buffer, size_t bufsz, const char *format,...)
 
int st_remove (const char *filename)
 
void st_except (const char *reason, const char *file, int line)
 Log error reason and call exit(EXIT_FAILURE).
 

Detailed Description

System procedures.

Function Documentation

◆ st_remove()

int st_remove ( const char *  filename)
See also
remove()

◆ st_snprintf()

int st_snprintf ( char *  buffer,
size_t  bufsz,
const char *  format,
  ... 
)
See also
snprintf()