bool runic_atom_write(runic_obj_t* ro, const char* val);

The above function signature outlines the operation regarding changing the value of write.

Arguments:

ro – A runic_obj_t object which is of type ATOM that was returned as a result of a successful runic_root() or a runic_alloc operation. Attempting to use any other object is an invalid operation. The program will almost certainly return false and an error will be displayed to console.

val – A null-terminated c-string which is of size less than or equal to the value returned by runic_atom_size(). Using a string of a larger size will cause this operation to fail, print to console, and return false.

Returns:

On a success, val is assigned into memory for ro, and the function returns true. On a failure, the function returns false.