13 lines
352 B
C
13 lines
352 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, int lines);
|
|
|