Skip to content

zmr-233/zmrMiniCRT

Repository files navigation

zmrMiniCRT

zmrMiniCRT is a minimalistic C runtime library designed for educational purposes. It provides a basic implementation of essential C standard library functions.

Features

  • Basic memory management (malloc, free)
  • Simple I/O functions (printf, scanf)
  • String manipulation functions (strlen, strcpy, strcmp)
  • Minimal startup code

Getting Started

To build and use zmrMiniCRT, follow these steps:

  1. Build the library:

    cmake .
    make
  2. Run project:

    ./test

Examples

Here is a simple example of using zmrMiniCRT:

#include "minicrt.h"
void fun() {
    printf("After main\n");
}
int main(int argc, char* argv[]) {
    atexit(fun);
    printf("Main\n");
    return 0;
}

License

This project is licensed under the MIT License.

Contributing

Contributions are welcome! Please submit pull requests or open issues to help improve the project.

Acknowledgements

Special thanks to all the contributors and the open-source community for their support.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published