Copies bytes from one memory location to another.
int srv_bmove (
void * from,
void * to,
DBINT count );
where
SUCCEED if the move was successful; otherwise, FAIL.
The values for from and to must be valid non-null pointers. Only count bytes are moved and no null-terminator is added. The srv_bmove function is provided for backward compatibility with earlier versions of Open Data Services. It is equivalent to the memcpy function.
This entry | For information about |
---|---|
srv_alloc | Allocating memory dynamically |
srv_bzero | Setting memory contents to 0 |