Skip to content

stp_string.dir@stp_string.h.dir@STP_String_assign_buf

Andy Zhang edited this page Aug 7, 2026 · 2 revisions

STP_String_assign_buf

F+F+++F+++F+++F+++F+++F+++F+++F+++F+++F+++F+++F+++F+++F+++F+++F+++F
  Function: STP_String_assign_buf

  Summary:  Assigns buffer in rhs to str.

  Args:     STP_String* str
              .
            const char* rhs
              .

  Returns:  int
              1 if successful, 0 otherwise

  Requires: * str and rhs are not null
            * str is initialized
F---F---F---F---F---F---F---F---F---F---F---F---F---F---F---F---F-F

Clone this wiki locally