Skip to content

Oblivious-Oblivious/EmeraldsWriteHandler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

EmeraldsWriteHandler

A safe file writer api.

Installation

Install the library

em list em install em build lib

Usage

#include "EmeraldsWriteHandler.h"

int main(void) {
  char *line = "something random";
  EmeraldsWriteHandler *h = write_handler_new();

  if(write_handler_open(h, "file.txt")) {
    write_handler_write(h, line);
    write_handler_write(h, "\n");
  }

  write_handler_close(h);
}

Contributing

  1. Fork it (https://github.com/Oblivious-Oblivious/EmeraldsWriteHandler/fork)
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

A safe write handler api.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages