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_tobject which is of typeATOMthat was returned as a result of a successfulrunic_root()or a runic_alloc operation. Attempting to use any other object is an invalid operation. The program will almost certainly returnfalseand 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 returnfalse.
Returns:¶
On a success, val is assigned into memory for ro, and the function returns true. On a failure, the function returns false.