Files
2024-12-05 01:42:50 +00:00

13 lines
341 B
C

#include "dynstr.h"
/**
* Writes the string to a file, appending a newline character
* This function automatically appends a newline character to the end of the string
*
* @param string the string to write
* @return 0 on success, -1 on error
* @note This function frees the string passed to it!
*/
int write_log(String_t* string);