Skip to contents

Save text data to file (write), string must be '\0' terminated, returns true on success.

Usage

save_file_text(file_name, text)

Arguments

file_name

A string.

text

A string.

Value

A logical

Note

This function has been auto-generated from the following Raylib function definition:

bool SaveFileText(const char * fileName, const char * text);

Examples

if (FALSE) {
save_file_text("file.png", "Hello")
}