sys_bufset
Previous Topic  Next Topic 

Synopsis:

        sys_bufset(buf_handle,offs,string)

Arguments:

      buf_handle       -  The buffer handle

      offs                   -  The byte offset into the buffer

      string                - The string to write



Description:    This function writes the given string into the specifier buffer at byte offset given by offs.     The terminating null byte of string is not written to the buffer.


Return Value:


Will return 0 on success or -1 if an invalid handle is given or an attempt is made to write beyond the end or before the beginning of the buffer.