Skip to content

offscale/c89randomstr

Repository files navigation

randomstr

License CI for Linux, Windows, macOS C89

Simple randomstr function in a header-only C89 library. Just #define RANDOMSTR_IMPLEMENTATION once-only in your program (before including the header).

Prototype

const char* generate_random_string(const size_t length);

Dependencies

  • CMake (3.19 or later)
  • C compiler (any that work with CMake, and were released within the last 30 years)

Build

mkdir build && cd build
cmake ..
cmake --build .

License

The code is distributed under BSD Zero Clause License.

About

Simple randomstr function in a header-only C89 library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors